Commit e7be39bf authored by Paul Sherwood's avatar Paul Sherwood

Include max-jobs in cache-key

parent db7d2859
Pipeline #4243693 passed with stages
in 6 minutes and 27 seconds
......@@ -131,6 +131,13 @@ def hash_factors(dn):
dn.get('kind') == 'system'):
hash_factors['default-splits'] = app.config['default-splits']
if app.config.get('artifact-version', 0) not in range(0, 7):
if dn.get('max-jobs'):
if dn['max-jobs'] == 1:
hash_factors['max-jobs'] = 'single'
else:
hash_factors['max-jobs'] = 'parallel'
return hash_factors
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment