mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-02 08:26:53 +00:00
Support for vpush only retries
This commit is contained in:
1 parent
6652f96349
commit
e26e383bd7
25 files changed
+559
-648
No files matched your search
@@ -0,0 +1,8 @@
|
||||
-- keys: pending (KEYS[1]), user (KEYS[2])
|
||||
-- args: timestamp (ARGV[1]), interval (ARGV[2]), account (ARGV[3]), device (ARGV[4])
|
||||
|
||||
redis.call("HSET", KEYS[2], "interval", ARGV[2])
|
||||
redis.call("HSET", KEYS[2], "account", ARGV[3])
|
||||
redis.call("HSET", KEYS[2], "device", ARGV[4])
|
||||
|
||||
redis.call("ZADD", KEYS[1], ARGV[1], KEYS[2])
|
||||
Reference in new issue
Block a user