@@ -54,29 +54,30 @@ Reconnection
54
54
55
55
Reconnection attempts are spaced out with truncated exponential backoff.
56
56
57
- .. envvar :: BACKOFF_INITIAL_DELAY
57
+ .. envvar :: WEBSOCKETS_BACKOFF_INITIAL_DELAY
58
58
59
59
The first attempt is delayed by a random amount of time between ``0 `` and
60
- ``BACKOFF_INITIAL_DELAY `` seconds.
60
+ ``WEBSOCKETS_BACKOFF_INITIAL_DELAY `` seconds.
61
61
62
62
The default value is ``5.0 `` seconds.
63
63
64
- .. envvar :: BACKOFF_MIN_DELAY
64
+ .. envvar :: WEBSOCKETS_BACKOFF_MIN_DELAY
65
65
66
- The second attempt is delayed by ``BACKOFF_MIN_DELAY `` seconds.
66
+ The second attempt is delayed by ``WEBSOCKETS_BACKOFF_MIN_DELAY `` seconds.
67
67
68
68
The default value is ``3.1 `` seconds.
69
69
70
- .. envvar :: BACKOFF_FACTOR
70
+ .. envvar :: WEBSOCKETS_BACKOFF_FACTOR
71
71
72
- After the second attempt, the delay is multiplied by `` BACKOFF_FACTOR ``
73
- between each attempt.
72
+ After the second attempt, the delay is multiplied by
73
+ `` WEBSOCKETS_BACKOFF_FACTOR `` between each attempt.
74
74
75
75
The default value is ``1.618 ``.
76
76
77
- .. envvar :: BACKOFF_MAX_DELAY
77
+ .. envvar :: WEBSOCKETS_BACKOFF_MAX_DELAY
78
78
79
- The delay between attempts is capped at ``BACKOFF_MAX_DELAY `` seconds.
79
+ The delay between attempts is capped at ``WEBSOCKETS_BACKOFF_MAX_DELAY ``
80
+ seconds.
80
81
81
82
The default value is ``90.0 `` seconds.
82
83
0 commit comments