feat(mm): make installer thread logging stmts debug

This commit is contained in:
psychedelicious 2024-03-21 16:15:24 +11:00
parent 2038064a34
commit 8ae757334e

View File

@ -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: