mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
feat(mm): make installer thread logging stmts debug
This commit is contained in:
parent
2038064a34
commit
8ae757334e
@ -425,11 +425,11 @@ class ModelInstallService(ModelInstallServiceBase):
|
|||||||
self._running = True
|
self._running = True
|
||||||
|
|
||||||
def _install_next_item(self) -> None:
|
def _install_next_item(self) -> None:
|
||||||
self._logger.info(f"Installer thread {threading.get_ident()} starting")
|
self._logger.debug(f"Installer thread {threading.get_ident()} starting")
|
||||||
while True:
|
while True:
|
||||||
if self._stop_event.is_set():
|
if self._stop_event.is_set():
|
||||||
break
|
break
|
||||||
self._logger.info(f"Installer thread {threading.get_ident()} running")
|
self._logger.debug(f"Installer thread {threading.get_ident()} polling")
|
||||||
try:
|
try:
|
||||||
job = self._install_queue.get(timeout=1)
|
job = self._install_queue.get(timeout=1)
|
||||||
except Empty:
|
except Empty:
|
||||||
|
Loading…
Reference in New Issue
Block a user