Ottimizzazione init db

This commit is contained in:
mac12m99
2021-05-13 20:47:36 +02:00
parent 47d10b1c68
commit 70ffcec833

View File

@@ -593,7 +593,7 @@ class SqliteMultithread(Thread):
while time.time() - start_time < self.timeout:
if self._sqlitedict_thread_initialized or self.exception:
return
time.sleep(0.1)
time.sleep(0.01)
raise TimeoutError("SqliteMultithread failed to flag initialization withing %0.0f seconds." % self.timeout)