mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-04-20 07:45:50 -04:00
bump up heartbeat interval (see comment)
This commit is contained in:
parent
783fd0ea87
commit
9d18dc6aeb
@ -113,7 +113,11 @@ class YoutubeDLSpy(urllib.request.BaseHandler):
|
||||
class BrozzlerWorker:
|
||||
logger = logging.getLogger(__module__ + "." + __qualname__)
|
||||
|
||||
HEARTBEAT_INTERVAL = 20.0
|
||||
# 3⅓ min heartbeat interval => 10 min ttl
|
||||
# This is kind of a long time, because `frontier.claim_sites()`, which runs
|
||||
# in the same thread as the heartbeats, can take a while on a busy brozzler
|
||||
# cluster with slow rethinkdb.
|
||||
HEARTBEAT_INTERVAL = 200.0
|
||||
SITE_SESSION_MINUTES = 15
|
||||
|
||||
def __init__(
|
||||
|
Loading…
x
Reference in New Issue
Block a user