thread
This commit is contained in:
parent
7ce43cf4b6
commit
2ebba22478
@ -33,7 +33,8 @@ class PlatformClient:
|
|||||||
sleep(30)
|
sleep(30)
|
||||||
self.fetch()
|
self.fetch()
|
||||||
|
|
||||||
Thread(target=inner, daemon=True).start()
|
thread = Thread(target=inner, daemon=True)
|
||||||
|
thread.start()
|
||||||
|
|
||||||
def poll_data(self):
|
def poll_data(self):
|
||||||
self.fetch(with_exception=True)
|
self.fetch(with_exception=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user