Skip to content

Commit

Permalink
Fix oversight of rebace
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberDem0n committed Dec 1, 2023
1 parent d7b4b4e commit 63ffb63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions patroni/postgresql/citus.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,8 +387,8 @@ def schedule_cache_rebuild(self) -> None:

def on_demote(self) -> None:
with self._condition:
self._pg_dist_node.clear()
empty_tasks: List[PgDistNode] = []
self._pg_dist_group.clear()
empty_tasks: List[PgDistTask] = []
self._tasks[:] = empty_tasks
self._in_flight = None

Expand Down

0 comments on commit 63ffb63

Please sign in to comment.