aglinxinyuan commented on code in PR #6522:
URL: https://github.com/apache/texera/pull/6522#discussion_r3609353184
##########
amber/src/main/python/core/architecture/handlers/control/end_worker_handler.py:
##########
@@ -38,12 +38,15 @@ async def end_worker(self, req: EmptyRequest) ->
EmptyReturn:
of all the control messages.
"""
# Ensure this is really the last message.
- input_queue: IQueue = self.context.input_queue
+ input_queue: InternalQueue = self.context.input_queue
Review Comment:
Reverted to `IQueue` — the handler only calls `is_empty()` and `len()`, both
already on the `IQueue`/`EmtpyCheckable` interface, so nothing
`InternalQueue`-specific leaks in here.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]