]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Reword the too many 'TCP client thread' message
authorRemi Gacogne <rgacogne+github@valombre.net>
Tue, 12 Jan 2021 16:35:01 +0000 (17:35 +0100)
committerGitHub <noreply@github.com>
Tue, 12 Jan 2021 16:35:01 +0000 (17:35 +0100)
Co-authored-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
pdns/dnsdist-tcp.cc

index 211f247f5a18a20e733a3458b19925680993dfbf..fbbd3281b7bef7ca577e39559f39b4ed2898d509 100644 (file)
@@ -222,7 +222,7 @@ void TCPClientCollection::addTCPClientThread()
     std::lock_guard<std::mutex> lock(d_mutex);
 
     if (d_numthreads >= d_tcpclientthreads.size()) {
-      vinfolog("Adding a new TCP client thread would exceed the vector capacity (%d/%d), skipping", d_numthreads.load(), d_tcpclientthreads.size());
+      vinfolog("Adding a new TCP client thread would exceed the vector size (%d/%d), skipping", d_numthreads.load(), d_tcpclientthreads.size());
       if (!d_useSinglePipe) {
         close(pipefds[0]);
         close(pipefds[1]);