From e17e0e4172970debaa96aa61f9d2ad3d3b88e32b Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Tue, 30 Aug 2016 14:08:56 -0400 Subject: [PATCH] Add log for when the job key is written --- buildman/manager/ephemeral.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/buildman/manager/ephemeral.py b/buildman/manager/ephemeral.py index 879f525c3..35b118bc4 100644 --- a/buildman/manager/ephemeral.py +++ b/buildman/manager/ephemeral.py @@ -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))