fix 100% CPU load in session_processor_default._process()

This commit is contained in:
Lincoln Stein 2024-03-31 11:43:30 -04:00 committed by Kent Keirsey
parent 9a1b35fa37
commit 3c9c58e0fa

View File

@ -128,6 +128,7 @@ class DefaultSessionProcessor(SessionProcessorBase):
if self._queue_item is None:
# Empty queue, wait for next polling interval or event to try again
poll_now_event.wait(self._polling_interval)
continue
self._invoker.services.logger.debug(f"Executing queue item {self._queue_item.item_id}")