Skip to content

Commit

Permalink
Disable asyn flushab temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
sundb committed Nov 14, 2024
1 parent fa35e46 commit 32e3664
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/db.c
Original file line number Diff line number Diff line change
Expand Up @@ -841,6 +841,9 @@ int flushCommandCommon(client *c, int type, int flags, SlotsFlush *sflush) {
blocking_async = 1;
}

// TODO: Add support for FLUSHALL ASYNC
blocking_async = 0;

if (type == FLUSH_TYPE_ALL)
flushAllDataAndResetRDB(flags | EMPTYDB_NOFUNCTIONS);
else
Expand Down

0 comments on commit 32e3664

Please sign in to comment.