diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-01-04 07:19:32 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-01-04 07:19:32 +0000 |
commit | 7480e618ec785ba8a1c74c8a150cffe5880fb3bb (patch) | |
tree | 87422376dd9a7eee55850f0fce9a8bb4c13e44a2 /iredis/redis_grammar.py | |
parent | Adding upstream version 1.12.1. (diff) | |
download | iredis-7480e618ec785ba8a1c74c8a150cffe5880fb3bb.tar.xz iredis-7480e618ec785ba8a1c74c8a150cffe5880fb3bb.zip |
Adding upstream version 1.13.0.upstream/1.13.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'iredis/redis_grammar.py')
-rw-r--r-- | iredis/redis_grammar.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/iredis/redis_grammar.py b/iredis/redis_grammar.py index b9e2ea8..391cdd8 100644 --- a/iredis/redis_grammar.py +++ b/iredis/redis_grammar.py @@ -72,7 +72,7 @@ CONST = { "stream_groups": "GROUPS", "stream_group": "GROUP", "maxlen": "MAXLEN", - "idel": "IDEL", + "idle": "IDLE", "time": "TIME", "retrycount": "RETRYCOUNT", "force": "FORCE", @@ -317,7 +317,7 @@ STREAM_DESTROY = rf"(?P<stream_destroy>{c('stream_destroy')})" STREAM_DELCONSUMER = rf"(?P<stream_delconsumer>{c('stream_delconsumer')})" MAXLEN = rf"(?P<maxlen>{c('maxlen')})" APPROXIMATELY = r"(?P<approximately>~)" -IDEL = rf"(?P<idel>{c('idel')})" +IDLE = rf"(?P<idle>{c('idle')})" TIME = rf"(?P<time>{c('time')})" RETRYCOUNT = rf"(?P<retrycount>{c('retrycount')})" FORCE = rf"(?P<force>{c('force')})" @@ -565,7 +565,7 @@ GRAMMAR = { "command_xclaim": rf""" \s+ {KEY} \s+ {GROUP} \s+ {CONSUMER} \s+ {MILLISECOND} (\s+ {STREAM_ID})+ - (\s+ {IDEL} \s+ {MILLISECOND})? + (\s+ {IDLE} \s+ {MILLISECOND})? (\s+ {TIME} \s+ {TIMESTAMP})? (\s+ {RETRYCOUNT} \s+ {COUNT})? (\s+ {FORCE})? |