mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-11-30 01:16:50 +00:00
Shorten TTL for shared MRM payloads
This commit is contained in:
1 parent
d045c45baa
commit
26426dda7f
1 file changed
+1
-1
@@ -9,7 +9,7 @@ if 1 == redis.call("EXISTS", sharedMrmKey) then
|
||||
end
|
||||
|
||||
redis.call("HSET", sharedMrmKey, "data", mrmData);
|
||||
redis.call("EXPIRE", sharedMrmKey, 604800) -- 7 days
|
||||
redis.call("EXPIRE", sharedMrmKey, 43200) -- 12 hours
|
||||
|
||||
-- unpack() fails with "too many results" at very large table sizes, so we loop
|
||||
for i = 2, #ARGV, 2 do
|
||||
|
||||
Reference in new issue
Block a user