Skip to content

Commit 4306b65

Browse files
author
Meir Shpilraien (Spielrein)
authored
Correctly fire AofStarted event. (#334)
1 parent 0c708c5 commit 4306b65

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/context/server_events.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ extern "C" fn loading_event_callback(
7575
let loading_sub_event = match subevent {
7676
raw::REDISMODULE_SUBEVENT_LOADING_RDB_START => LoadingSubevent::RdbStarted,
7777
raw::REDISMODULE_SUBEVENT_LOADING_REPL_START => LoadingSubevent::ReplStarted,
78+
raw::REDISMODULE_SUBEVENT_LOADING_AOF_START => LoadingSubevent::AofStarted,
7879
raw::REDISMODULE_SUBEVENT_LOADING_ENDED => LoadingSubevent::Ended,
7980
_ => LoadingSubevent::Failed,
8081
};

0 commit comments

Comments
 (0)