Unverified Commit 215b909c authored by lijinliang's avatar lijinliang Committed by GitHub
Browse files

fix typo in db.c: synchroneus -> synchronous(2 places) (#9702)


Co-authored-by: default avatarlijinliang <lijl@newdt.cn>
parent 734cde7e
...@@ -637,7 +637,7 @@ void flushAllDataAndResetRDB(int flags) { ...@@ -637,7 +637,7 @@ void flushAllDataAndResetRDB(int flags) {
#if defined(USE_JEMALLOC) #if defined(USE_JEMALLOC)
/* jemalloc 5 doesn't release pages back to the OS when there's no traffic. /* jemalloc 5 doesn't release pages back to the OS when there's no traffic.
* for large databases, flushdb blocks for long anyway, so a bit more won't * for large databases, flushdb blocks for long anyway, so a bit more won't
* harm and this way the flush and purge will be synchroneus. */ * harm and this way the flush and purge will be synchronous. */
if (!(flags & EMPTYDB_ASYNC)) if (!(flags & EMPTYDB_ASYNC))
jemalloc_purge(); jemalloc_purge();
#endif #endif
...@@ -655,7 +655,7 @@ void flushdbCommand(client *c) { ...@@ -655,7 +655,7 @@ void flushdbCommand(client *c) {
#if defined(USE_JEMALLOC) #if defined(USE_JEMALLOC)
/* jemalloc 5 doesn't release pages back to the OS when there's no traffic. /* jemalloc 5 doesn't release pages back to the OS when there's no traffic.
* for large databases, flushdb blocks for long anyway, so a bit more won't * for large databases, flushdb blocks for long anyway, so a bit more won't
* harm and this way the flush and purge will be synchroneus. */ * harm and this way the flush and purge will be synchronous. */
if (!(flags & EMPTYDB_ASYNC)) if (!(flags & EMPTYDB_ASYNC))
jemalloc_purge(); jemalloc_purge();
#endif #endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment