Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
215b909c
Unverified
Commit
215b909c
authored
Oct 31, 2021
by
lijinliang
Committed by
GitHub
Oct 31, 2021
Browse files
fix typo in db.c: synchroneus -> synchronous(2 places) (#9702)
Co-authored-by:
lijinliang
<
lijl@newdt.cn
>
parent
734cde7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/db.c
View file @
215b909c
...
...
@@ -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 synchron
e
us. */
* harm and this way the flush and purge will be synchron
o
us. */
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 synchron
e
us. */
* harm and this way the flush and purge will be synchron
o
us. */
if
(
!
(
flags
&
EMPTYDB_ASYNC
))
jemalloc_purge
();
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment