Skip to content

Commit

Permalink
better
Browse files Browse the repository at this point in the history
  • Loading branch information
munakoiso committed Jul 30, 2024
1 parent 3f9d2f7 commit 81d9da7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,11 @@ def start(self):
"""
Start iterations
"""
if (not self.config.getboolean('global', 'use_replication_slots') and
self.config.getboolean('global', 'replication_slots_polling')):
logging.warning('Force disable replication_slots_polling because use_replication_slots is disabled.')
self.config.set('global', 'replication_slots_polling', 'no')

my_prio = self.config.get('global', 'priority')
self.notifier.ready()
while True:
Expand Down

0 comments on commit 81d9da7

Please sign in to comment.