Use a daemon thread for the log

This commit is contained in:
allegroai 2020-04-09 12:56:55 +03:00
parent 1b901b7d13
commit 5eb4ae6600

View File

@ -148,7 +148,7 @@ class TaskHandler(BufferingHandler):
self._exit_event.clear()
# multiple workers could be supported as well
self._thread = Thread(target=self._daemon)
# self._thread.daemon = True
self._thread.daemon = True
self._thread.start()
self._queue.put(request)