fix: increase event wait time
the statusPageList event is slow
This commit is contained in:
parent
e041d66cdc
commit
0821f38faa
1 changed files with 1 additions and 1 deletions
|
@ -310,7 +310,7 @@ class UptimeKumaApi(object):
|
||||||
if self._event_data[Event.MONITOR_LIST] == {} and event in monitor_events:
|
if self._event_data[Event.MONITOR_LIST] == {} and event in monitor_events:
|
||||||
return []
|
return []
|
||||||
time.sleep(0.01)
|
time.sleep(0.01)
|
||||||
time.sleep(0.01) # wait for multiple messages
|
time.sleep(0.05) # wait for multiple messages
|
||||||
return self._event_data[event]
|
return self._event_data[event]
|
||||||
|
|
||||||
def _call(self, event, data=None):
|
def _call(self, event, data=None):
|
||||||
|
|
Loading…
Reference in a new issue