We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0abc89a commit 0e04e78Copy full SHA for 0e04e78
qiita_client/qiita_client.py
@@ -74,9 +74,11 @@ def _heartbeat(qclient, url):
74
75
Notes
76
-----
77
- If the Qiita server is not reachable, this function will wait 5 minutes
78
- before retrying another heartbeat. This is useful for updating the Qiita
79
- server without stopping long running jobs.
+ If the Qiita server is not reachable, this function will wait a random
+ interval of minutes before retrying another heartbeat. This attempts to
+ distribute the load of multiple callers during times of heavier load.
80
+ Intervals are useful for updating the Qiita server without stopping long
81
+ running jobs.
82
"""
83
logger.debug('Entered _heartbeat()')
84
retries = MAX_RETRIES
0 commit comments