mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix 100% CPU load in session_processor_default._process()
This commit is contained in:
parent
9a1b35fa37
commit
3c9c58e0fa
@ -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}")
|
||||
|
Loading…
Reference in New Issue
Block a user