Skip to content

Commit 8ba5a89

Browse files
committed
Remove duplicate log entry for conn alloc failures
dispatch_new_connections added a "generic" log entry if conn_new returned nullptr, but conn_new had already logged the reason why it failed to create the new connection. Change-Id: I54bcbfd28c4307f00f407c5fba80fc525281861e Reviewed-on: http://review.couchbase.org/113629 Tested-by: Trond Norbye <[email protected]> Reviewed-by: Jim Walker <[email protected]>
1 parent ac72f5f commit 8ba5a89

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

daemon/thread.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,8 +249,6 @@ static void dispatch_new_connections(FrontEndThread& me) {
249249

250250
for (const auto& entry : connections) {
251251
if (conn_new(entry.first, *entry.second, me.base, me) == nullptr) {
252-
LOG_WARNING("Failed to dispatch event for socket {}",
253-
long(entry.first));
254252
if (entry.second->system) {
255253
--stats.system_conns;
256254
}

0 commit comments

Comments
 (0)