mirror of https://mirror.osredm.com/root/redis.git
Fix typo in comment of flushAppendOnlyFile (#9051)
Co-authored-by: lizhaolong.lzl <lizhaolong.lzl@B-54MPMD6R-0221.local>
This commit is contained in:
parent
3e39ea0b83
commit
a972503f57
|
@ -364,7 +364,7 @@ ssize_t aofWrite(int fd, const char *buf, size_t len) {
|
|||
/* Write the append only file buffer on disk.
|
||||
*
|
||||
* Since we are required to write the AOF before replying to the client,
|
||||
* and the only way the client socket can get a write is entering when the
|
||||
* and the only way the client socket can get a write is entering when
|
||||
* the event loop, we accumulate all the AOF writes in a memory
|
||||
* buffer and write it on disk using this function just before entering
|
||||
* the event loop again.
|
||||
|
|
Loading…
Reference in New Issue