diff --git a/patroni.py b/patroni.py index a15f535b..3be2aa57 100755 --- a/patroni.py +++ b/patroni.py @@ -92,8 +92,8 @@ class Patroni: self.ha.state_handler.drop_replication_slots() except: logger.exception('Exception when changing replication slots') - self.schedule_next_run() reap_children() + self.schedule_next_run() def main():