Migrate to PostgreSQL #39

Merged
Miroslavsckaya merged 16 commits from migrate_to_postgresql into master 2022-07-13 22:53:54 +00:00
Showing only changes of commit 2206c6299d - Show all commits

View file

@ -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