Skip to content

Commit

Permalink
Reduce keepalive_interval from 60 to 10 seconds for ServerReconnecter
Browse files Browse the repository at this point in the history
it was increased in a50f36b
from 3 to 60, but since then faf-uid calculator was improved
and reconnection process takes much less time
60 secs now look a bit harsh, so let's relax th interval to 10 seconds
  • Loading branch information
Gatsik committed Jan 7, 2025
1 parent b5b4f18 commit 8003862
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def __init__(self, connection: ServerConnection) -> None:
self._keepalive = False
self._keepalive_timer = QtCore.QTimer(self)
self._keepalive_timer.timeout.connect(self._ping_connection)
self.keepalive_interval = 60 * 1000
self.keepalive_interval = 10 * 1000
self._waiting_for_message = False

@property
Expand Down

0 comments on commit 8003862

Please sign in to comment.