Give some time for the background threads to get themselves ready to go

This commit is contained in:
Cyberes 2023-10-23 17:25:38 -06:00
parent 0771c2325c
commit 177dabd209
1 changed files with 3 additions and 0 deletions

View File

@ -55,6 +55,9 @@ if __name__ == "__main__":
start_background() start_background()
# Give some time for the background threads to get themselves ready to go.
time.sleep(2)
redis.set('daemon_started', 1) redis.set('daemon_started', 1)
logger.info('== Daemon Setup Complete ==') logger.info('== Daemon Setup Complete ==')