Modules hooks: implement the FLUSHDB event.

This commit is contained in:
antirez
2019-10-23 10:22:46 +02:00
parent 8ec2fc3969
commit ed833c9f99
3 changed files with 18 additions and 2 deletions

View File

@ -5721,8 +5721,8 @@ void ModuleForkDoneHandler(int exitcode, int bysignal) {
* because of replication, after the replica synchronization)
* happened. The following sub events are available:
*
* REDISMODULE_EVENT_FLUSHALL_START
* REDISMODULE_EVENT_FLUSHALL_END
* REDISMODULE_EVENT_FLUSHDB_START
* REDISMODULE_EVENT_FLUSHDB_END
*
* The data pointer can be casted to a RedisModuleFlushInfo
* structure with the following fields: