]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/msg/async/PosixStack.cc
update sources to v12.1.1
[ceph.git] / ceph / src / msg / async / PosixStack.cc
index 0422b4e26b7170bff4b22922c0b8343027837da1..d0e6b5af0834789346bc510f4077773f9201cb43 100644 (file)
@@ -30,7 +30,6 @@
 #include "common/errno.h"
 #include "common/strtol.h"
 #include "common/dout.h"
-#include "include/assert.h"
 #include "common/simple_spin.h"
 
 #define dout_subsys ceph_subsys_ms
@@ -323,7 +322,7 @@ int PosixWorker::listen(entity_addr_t &sa, const SocketOptions &opt,
     return r;
   }
 
-  r = ::listen(listen_sd, 128);
+  r = ::listen(listen_sd, cct->_conf->ms_tcp_listen_backlog);
   if (r < 0) {
     r = -errno;
     lderr(cct) << __func__ << " unable to listen on " << sa << ": " << cpp_strerror(r) << dendl;