Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Adding ttl incase execution fails

  • Loading branch information...
commit 15a49496aad75ac985cf42f68fb7f0496fc6afcb 1 parent b7b4883
@winton authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/execache.rb
View
1  lib/execache.rb
@@ -54,6 +54,7 @@ def initialize(yaml)
else
pending = true
redis.set(cache_key, '[PENDING]')
+ redis.expire(cache_key, 60) # Timeout incase execution fails
command << group['args']
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.