From 215b909c1fa7d8d2e49e40187380be1be70e1714 Mon Sep 17 00:00:00 2001 From: lijinliang <576926735@qq.com> Date: Sun, 31 Oct 2021 22:01:54 +0800 Subject: [PATCH] fix typo in db.c: synchroneus -> synchronous(2 places) (#9702) Co-authored-by: lijinliang --- src/db.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/db.c b/src/db.c index b0d379a16..4ae0d768d 100644 --- a/src/db.c +++ b/src/db.c @@ -637,7 +637,7 @@ void flushAllDataAndResetRDB(int flags) { #if defined(USE_JEMALLOC) /* 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 - * 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)) jemalloc_purge(); #endif @@ -655,7 +655,7 @@ void flushdbCommand(client *c) { #if defined(USE_JEMALLOC) /* 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 - * 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)) jemalloc_purge(); #endif