diff --git a/app/nvmf_tgt/conf.c b/app/nvmf_tgt/conf.c index 1bab8c8666..b3ea4c9875 100644 --- a/app/nvmf_tgt/conf.c +++ b/app/nvmf_tgt/conf.c @@ -56,7 +56,7 @@ #define PORTNUMSTRLEN 32 #define SPDK_NVMF_DEFAULT_SIN_PORT ((uint16_t)4420) -#define ACCEPT_TIMEOUT_US 1000 /* 1ms */ +#define ACCEPT_TIMEOUT_US 10000 /* 10ms */ struct spdk_nvmf_probe_ctx { struct nvmf_tgt_subsystem *app_subsystem; diff --git a/etc/spdk/nvmf.conf.in b/etc/spdk/nvmf.conf.in index a52f0170de..c23924edd4 100644 --- a/etc/spdk/nvmf.conf.in +++ b/etc/spdk/nvmf.conf.in @@ -62,7 +62,7 @@ # Set how often the acceptor polls for incoming connections. The acceptor is also # responsible for polling existing connections that have gone idle. 0 means continuously # poll. Units in microseconds. - AcceptorPollRate 1000 + AcceptorPollRate 10000 # Define an NVMf Subsystem. # - NQN is required and must be unique.