Tracking: BCAST: parsing of the options + skeleton.

This commit is contained in:
antirez
2020-02-10 17:18:11 +01:00
parent 3e8c69a9de
commit 77da960815
4 changed files with 73 additions and 19 deletions

View File

@ -3310,8 +3310,11 @@ void call(client *c, int flags) {
if (c->cmd->flags & CMD_READONLY) {
client *caller = (c->flags & CLIENT_LUA && server.lua_caller) ?
server.lua_caller : c;
if (caller->flags & CLIENT_TRACKING)
if (caller->flags & CLIENT_TRACKING &&
!(caller->flags & CLIENT_TRACKING_BCAST))
{
trackingRememberKeys(caller);
}
}
server.fixed_time_expire--;