mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
Delay initial explorer report incase of bugs/issues
This commit is contained in:
parent
dc843276c2
commit
b837c0f854
|
@ -27,6 +27,8 @@ class explorer():
|
||||||
self.interval_thread.start()
|
self.interval_thread.start()
|
||||||
|
|
||||||
def interval(self):
|
def interval(self):
|
||||||
|
# Wait for just a little bit incase modem is contionously restarting due to a bug or user configuration issue
|
||||||
|
threading.Event().wait(30)
|
||||||
while True:
|
while True:
|
||||||
self.push()
|
self.push()
|
||||||
threading.Event().wait(self.publish_interval)
|
threading.Event().wait(self.publish_interval)
|
||||||
|
|
Loading…
Reference in a new issue