mirror of
https://github.com/fluencelabs/redis
synced 2025-07-04 03:11:34 +00:00
Remove the NOTIFY_MODULE flag and simplify the module notification flow if there aren't subscribers
This commit is contained in:
@ -429,7 +429,6 @@ typedef long long mstime_t; /* millisecond time type. */
|
||||
#define NOTIFY_EXPIRED (1<<8) /* x */
|
||||
#define NOTIFY_EVICTED (1<<9) /* e */
|
||||
#define NOTIFY_STREAM (1<<10) /* t */
|
||||
#define NOTIFY_MODULE (1<<11) /* modules are interested in notifications */
|
||||
#define NOTIFY_ALL (NOTIFY_GENERIC | NOTIFY_STRING | NOTIFY_LIST | NOTIFY_SET | NOTIFY_HASH | NOTIFY_ZSET | NOTIFY_EXPIRED | NOTIFY_EVICTED | NOTIFY_STREAM) /* A flag */
|
||||
|
||||
/* Get the first bind addr or NULL */
|
||||
|
Reference in New Issue
Block a user