We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37e5a5d commit 5404703Copy full SHA for 5404703
adafruit_ntp.py
@@ -188,7 +188,7 @@ class NTP: # pylint:disable=too-many-instance-attributes
188
"""Time to wait before retry after first (network operation) failure."""
189
MAX_WAIT = int(60 * NS_PER_SEC) # maximum wait time in nanoseconds
190
"""Maximum time to wait before retry after a failure."""
191
- WAIT_FACTOR = const(1.5) # multiplier for exponential backoff
+ WAIT_FACTOR = 1.5 # multiplier for exponential backoff
192
"""Amount (multiplication factor) to increase the wait before retry after each failure."""
193
194
MINIMUM_RETRY_DELAY: int = const(60) # 60 seconds
0 commit comments