MCPcopy Create free account
hub / github.com/Syncplay/syncplay / _performRetryStateReset

Method _performRetryStateReset

syncplay/client.py:920–929  ·  view source on GitHub ↗

Shared method to reset connection state for both automatic and manual retries. This contains the common logic from the original retry function.

(self)

Source from the content-addressed store, hash-verified

918 self.ui.promptFor(getMessage("enter-to-exit-prompt"))
919
920 def _performRetryStateReset(self):
921 """
922 Shared method to reset connection state for both automatic and manual retries.
923 This contains the common logic from the original retry function.
924 """
925 self._lastGlobalUpdate = None
926 self.ui.setSSLMode(False)
927 self.playlistMayNeedRestoring = True
928 self.ui.showMessage(getMessage("reconnection-attempt-notification"))
929 self.reconnecting = True
930
931 def manualReconnect(self):
932 """

Callers 2

retryMethod · 0.95
performReconnectMethod · 0.95

Calls 3

getMessageFunction · 0.90
setSSLModeMethod · 0.45
showMessageMethod · 0.45

Tested by

no test coverage detected