mirror of
https://github.com/fluencelabs/redis
synced 2025-06-16 10:41:22 +00:00
Modules hooks: fix define / linker issues. Implement one test event.
This commit is contained in:
@ -827,9 +827,11 @@ void clientAcceptHandler(connection *conn) {
|
||||
}
|
||||
|
||||
server.stat_numconnections++;
|
||||
moduleFireServerEvent(REDISMODULE_EVENT_CLIENT_CHANGE,
|
||||
REDISMODULE_SUBEVENT_CLIENT_CHANGE_DISCONNECTED,
|
||||
c);
|
||||
}
|
||||
|
||||
|
||||
#define MAX_ACCEPTS_PER_CALL 1000
|
||||
static void acceptCommonHandler(connection *conn, int flags, char *ip) {
|
||||
client *c;
|
||||
|
Reference in New Issue
Block a user