change time.sleep to 1
This commit is contained in:
parent
292a7a3c88
commit
2206c6299d
|
@ -157,7 +157,7 @@ class Notifier:
|
|||
self.log.debug('__count_request_and_wait()')
|
||||
if self.sent_counter >= self.BATCH_LIMIT:
|
||||
self.log.debug('Requests limit exceeded, sleeping for a second')
|
||||
time.sleep(2)
|
||||
time.sleep(1)
|
||||
self.log.debug('Resetting counter')
|
||||
self.sent_counter = 0
|
||||
self.sent_counter += 1
|
||||
|
|
Loading…
Reference in a new issue