Skip to content

Commit 60cbb0f

Browse files
remove unused var in networking.cpp
1 parent ff580de commit 60cbb0f

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

src/networking.cpp

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1907,19 +1907,6 @@ void ProcessPendingAsyncWrites()
19071907
zfree(c->replyAsync);
19081908
c->replyAsync = nullptr;
19091909
c->fPendingAsyncWrite = FALSE;
1910-
1911-
// Now install the write event handler
1912-
int ae_flags = AE_WRITABLE|AE_WRITE_THREADSAFE;
1913-
/* For the fsync=always policy, we want that a given FD is never
1914-
* served for reading and writing in the same event loop iteration,
1915-
* so that in the middle of receiving the query, and serving it
1916-
* to the client, we'll call beforeSleep() that will do the
1917-
* actual fsync of AOF to disk. AE_BARRIER ensures that. */
1918-
if (g_pserver->aof_state == AOF_ON &&
1919-
g_pserver->aof_fsync == AOF_FSYNC_ALWAYS)
1920-
{
1921-
ae_flags |= AE_BARRIER;
1922-
}
19231910

19241911
if (!((c->replstate == REPL_STATE_NONE ||
19251912
(c->replstate == SLAVE_STATE_ONLINE && !c->repl_put_online_on_ack))))

0 commit comments

Comments
 (0)