Add log for when the job key is written

This commit is contained in:
Joseph Schorr 2016-08-30 14:08:56 -04:00
parent 2fe896ba6a
commit e17e0e4172

View file

@ -420,6 +420,8 @@ class EphemeralBuilderManager(BaseManager):
lock_payload = json.dumps(payload)
logger.debug('Writing key for job %s with expiration in %s seconds', build_uuid,
self._ephemeral_setup_timeout)
try:
yield From(self._etcd_client.write(job_key, lock_payload, prevExist=False,
ttl=self._ephemeral_setup_timeout))