Searched refs:CLIENT_PUBSUB (Results 1 – 4 of 4) sorted by relevance
282 c->flags |= CLIENT_PUBSUB; in subscribeCommand()294 if (clientSubscriptionsCount(c) == 0) c->flags &= ~CLIENT_PUBSUB; in unsubscribeCommand()302 c->flags |= CLIENT_PUBSUB; in psubscribeCommand()314 if (clientSubscriptionsCount(c) == 0) c->flags &= ~CLIENT_PUBSUB; in punsubscribeCommand()
1658 if (client->flags & CLIENT_PUBSUB) *p++ = 'P'; in catClientInfoString()2048 if (c->flags & CLIENT_PUBSUB) return CLIENT_TYPE_PUBSUB; in getClientType()
827 !(c->flags & CLIENT_PUBSUB) && /* no timeout for Pub/Sub clients */ in clientsCronHandleTimeout()2686 if (c->flags & CLIENT_PUBSUB && in processCommand()2958 if (c->flags & CLIENT_PUBSUB) { in pingCommand()
248 #define CLIENT_PUBSUB (1<<18) /* Client is in Pub/Sub mode. */ macro