buildman: let metric data live longer in etcd
This commit is contained in:
parent
768459ef86
commit
3542255db8
1 changed files with 1 additions and 1 deletions
|
@ -504,7 +504,7 @@ class EphemeralBuilderManager(BaseManager):
|
|||
})
|
||||
try:
|
||||
yield From(self._etcd_client.write(self._etcd_metric_key(realm), metric_spec, prevExist=False,
|
||||
ttl=setup_time))
|
||||
ttl=machine_max_expiration + 10))
|
||||
except (KeyError, etcd.EtcdKeyError):
|
||||
logger.error('Realm %s already exists in etcd for job %s ' +
|
||||
'UUID collision or something is very very wrong.', realm, build_uuid)
|
||||
|
|
Reference in a new issue