mirror of
https://github.com/fluencelabs/redis
synced 2025-06-02 03:51:20 +00:00
Flag PUBLISH as read-only in the command table.
This commit is contained in:
parent
611dcb56ee
commit
6cb7860658
@ -236,7 +236,7 @@ struct redisCommand redisCommandTable[] = {
|
|||||||
{"unsubscribe",unsubscribeCommand,-1,"rpslt",0,NULL,0,0,0,0,0},
|
{"unsubscribe",unsubscribeCommand,-1,"rpslt",0,NULL,0,0,0,0,0},
|
||||||
{"psubscribe",psubscribeCommand,-2,"rpslt",0,NULL,0,0,0,0,0},
|
{"psubscribe",psubscribeCommand,-2,"rpslt",0,NULL,0,0,0,0,0},
|
||||||
{"punsubscribe",punsubscribeCommand,-1,"rpslt",0,NULL,0,0,0,0,0},
|
{"punsubscribe",punsubscribeCommand,-1,"rpslt",0,NULL,0,0,0,0,0},
|
||||||
{"publish",publishCommand,3,"pflt",0,NULL,0,0,0,0,0},
|
{"publish",publishCommand,3,"pfltr",0,NULL,0,0,0,0,0},
|
||||||
{"watch",watchCommand,-2,"rs",0,noPreloadGetKeys,1,-1,1,0,0},
|
{"watch",watchCommand,-2,"rs",0,noPreloadGetKeys,1,-1,1,0,0},
|
||||||
{"unwatch",unwatchCommand,1,"rs",0,NULL,0,0,0,0,0},
|
{"unwatch",unwatchCommand,1,"rs",0,NULL,0,0,0,0,0},
|
||||||
{"restore",restoreCommand,4,"awm",0,NULL,1,1,1,0,0},
|
{"restore",restoreCommand,4,"awm",0,NULL,1,1,1,0,0},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user