Skip to content

Commit 0e04e78

Browse files
charles-cowartantgonza
authored andcommitted
Modified comment to reflect random element (#46)
1 parent 0abc89a commit 0e04e78

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

qiita_client/qiita_client.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,11 @@ def _heartbeat(qclient, url):
7474
7575
Notes
7676
-----
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.
77+
If the Qiita server is not reachable, this function will wait a random
78+
interval of minutes before retrying another heartbeat. This attempts to
79+
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.
8082
"""
8183
logger.debug('Entered _heartbeat()')
8284
retries = MAX_RETRIES

0 commit comments

Comments
 (0)