mirror of
http://github.com/valkey-io/valkey
synced 2024-11-22 00:52:38 +00:00
Actually use ae_flags to add AE_BARRIER if needed.
Many thanks to @Plasma that spotted this problem reviewing the code.
This commit is contained in:
parent
fb7560bcbb
commit
e09c8c102a
@ -1025,7 +1025,7 @@ int handleClientsWithPendingWrites(void) {
|
||||
{
|
||||
ae_flags |= AE_BARRIER;
|
||||
}
|
||||
if (aeCreateFileEvent(server.el, c->fd, AE_WRITABLE,
|
||||
if (aeCreateFileEvent(server.el, c->fd, ae_flags,
|
||||
sendReplyToClient, c) == AE_ERR)
|
||||
{
|
||||
freeClientAsync(c);
|
||||
|
Loading…
Reference in New Issue
Block a user