worker.register_birth() should set a slightly longer worker key TTL (#1284)

main
Selwin Ong 5 years ago committed by GitHub
parent 2fdff2471c
commit 34eec5fee5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -278,7 +278,7 @@ class Worker(object):
'python_version': self.python_version,
})
worker_registration.register(self, p)
p.expire(key, self.default_worker_ttl)
p.expire(key, self.default_worker_ttl + 60)
p.execute()
def register_death(self):

Loading…
Cancel
Save