Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pglookout/cluster_monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class ReplicationSlot:
state_data: str


def wait_select(conn, timeout=5.0):
def wait_select(conn, timeout=10.0):
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's bump this to 15s: https://aiven.atlassian.net/browse/PM-5174 required > 12s timeout. Eventually, this should be configurable or exponential backoff retrying instead of constantly staying put.

end_time = time.monotonic() + timeout
while time.monotonic() < end_time:
time_left = end_time - time.monotonic()
Expand Down