Skip to content

Commit 9a2b33b

Browse files
committed
Revert "Reset send queue size before returning to libevent"
It seems like this patch fails on Windows This reverts commit d30054c. Change-Id: I47bd5cb4ca1b9cbbf364364d16229fdd71f2c6dd Reviewed-on: http://review.couchbase.org/c/kv_engine/+/141122 Reviewed-by: Paolo Cocchi <[email protected]> Tested-by: Build Bot <[email protected]>
1 parent 8b4d53a commit 9a2b33b

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

daemon/connection.cc

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -702,12 +702,6 @@ bool Connection::executeCommandsCallback() {
702702
scheduler_info[getThread().index].add(duration_cast<microseconds>(ns));
703703
addCpuTime(ns);
704704

705-
if (state == State::running) {
706-
// We might have added data to the send queue; make sure that
707-
// we update the counters
708-
shutdownIfSendQueueStuck(start);
709-
}
710-
711705
if (state != State::running) {
712706
if (state == State::closing) {
713707
externalAuthManager->remove(*this);

0 commit comments

Comments
 (0)