Merge pull request #41469 from Ch3LL/fix_redis_error

Fix keep_jobs keyerror in redis returner
This commit is contained in:
Mike Place 2017-05-30 13:37:42 -05:00 committed by GitHub
commit 06ef17dec3

View File

@ -113,7 +113,7 @@ def _get_serv(ret=None):
def _get_ttl():
return __opts__['keep_jobs'] * 3600
return __opts__.get('keep_jobs', 24) * 3600
def returner(ret):