Fixed issue where presets hash is not being cached for as long as it should
This commit is contained in:
1 parent
b61b746db4
commit
c08fb47f18
1 file changed
+1
-1
+1
-1
@@ -176,7 +176,7 @@ exports.assertPresets = (deviceId, presetsHash, callback) ->
|
||||
|
||||
if not presetsHash
|
||||
presetsHash = calculatePresetsHash(presets)
|
||||
db.memcached.set('presets_hash', presetsHash, expiry - config.PRESETS_TIME_PADDING, (err, res) ->
|
||||
db.memcached.set('presets_hash', presetsHash, config.PRESETS_CACHE_DURATION, (err, res) ->
|
||||
)
|
||||
|
||||
db.memcached.set("#{deviceId}_presets_hash", presetsHash, expiry - config.PRESETS_TIME_PADDING, (err, res) ->
|
||||
|
||||
Reference in new issue
Block a user