[6.13.0] - 2020-03-30
Added:
- The new
Config
parameterinitial_reconnect_delay
allows customizing of the base retry delay for stream connections (that is, the delay for the first reconnection after a failure; subsequent retries use an exponential backoff). - The new
Config
parameterhttp
and theHTTPConfig
class allow advanced configuration of the SDK's network behavior, such as specifying a custom certificate authority for connecting to a proxy/gateway that uses a self-signed certificate.
Changed:
- The retry delay for stream connections has been changed as follows: it uses an exponential backoff no matter what type of error occurred (previously, some kinds of errors had a hard-coded 1-second delay), and each delay is reduced by a random jitter of 0-50% rather than 0-100%. Also, if a connection remains active for at least 60 seconds, the backoff is reset to the initial value. This makes the Python SDK's behavior consistent with other LaunchDarkly SDKs.
Deprecated:
- The existing
Config
propertiesconnect_timeout
,read_timeout
, andverify_ssl
are now deprecated and superseded by the equivalent properties inHTTPConfig
.