Skip to content
Snippets Groups Projects
Commit d9faca1f authored by Alex Wiens's avatar Alex Wiens
Browse files

Prule.daemon: Add 1 second waiting for threads

parent ff7063be
No related branches found
No related tags found
No related merge requests found
......@@ -1178,12 +1178,12 @@ if __name__ == "__main__":
# wait for threads
try:
if cc_thread.is_alive():
cc_thread.join()
cc_thread.join(1)
except:
pass
try:
if prule_thread.is_alive():
prule_thread.join()
prule_thread.join(1)
except:
pass
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment