Fix lock timeout bug

This commit is contained in:
Zaid Abdulla committed 2017-05-12 02:43:21 -07:00
1 parent ef8aeda02d
commit 3f72bdd84b
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -79,7 +79,7 @@ function refresh(callback) {
return callback();
}
cache.lock("presets_hash_lock", 3000, function(err, unlockOrExtend) {
cache.lock("presets_hash_lock", 3, function(err, unlockOrExtend) {
if (err)
return callback(err);