The Python `pubnub.pnconfiguration.PNConfiguration.reconnect_policy` is a property that determines the behavior of the PubNub client when it needs to automatically reconnect to the server. It defines the policy that governs how the reconnection attempts are made after a network disconnection or server error. The possible values for the `reconnect_policy` property are `LINEAR`, `EXPONENTIAL`, and `NONE`. - When set to `LINEAR`, the client will attempt to reconnect at regular intervals with a fixed delay between each attempt. - When set to `EXPONENTIAL`, the client will gradually increase the time delay between each reconnection attempt, providing exponential backoff. - When set to `NONE`, the client will not automatically attempt to reconnect, and the application will need to handle reconnection manually.
Python PNConfiguration.reconnect_policy - 31 examples found. These are the top rated real world Python examples of pubnub.pnconfiguration.PNConfiguration.reconnect_policy extracted from open source projects. You can rate examples to help us improve the quality of examples.