Skip to content

Commit 0f078f5

Browse files
committed
#650 replaced usage of psetex command with set command and options in cache_request.lua
1 parent 1042cd7 commit 0f078f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gateleen-cache/src/main/resources/cache_request.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ local expireMillis = tonumber(ARGV[4])
77
local resourceKey = cachePrefix..resourceName
88

99
redis.call('sadd', cachedSet, resourceName)
10-
redis.call('psetex', resourceKey, expireMillis, resourceValue)
10+
redis.call('set', resourceKey, resourceValue, 'px', expireMillis)
1111

1212
return "OK"
1313

0 commit comments

Comments
 (0)