scwhittle commented on code in PR #30679:
URL: https://github.com/apache/beam/pull/30679#discussion_r1532144088


##########
sdks/python/apache_beam/runners/worker/sdk_worker.py:
##########
@@ -607,12 +607,18 @@ def _schedule_periodic_shutdown(self):
     # type: () -> None
     def shutdown_inactive_bundle_processors():
       # type: () -> None
+      inactive_descriptor_ids = []
+      cur_time = time.time()

Review Comment:
   nit: could calculate threshold here since it's same for all elements, think 
less line wraps



-- 
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]

Reply via email to