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