mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Merge pull request #41469 from Ch3LL/fix_redis_error
Fix keep_jobs keyerror in redis returner
This commit is contained in:
commit
06ef17dec3
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user