Increase inactivehandles and inactivereqs size for better reuse.

This commit is contained in:
Witold Kręcicki
2020-01-29 15:16:02 +01:00
parent 8af5d33768
commit 94b9cd38d7

View File

@@ -903,8 +903,8 @@ isc__nmsocket_init(isc_nmsocket_t *sock, isc_nm_t *mgr, isc_nmsocket_type type,
.iface = iface,
.fd = -1,
.ah_size = 32,
.inactivehandles = isc_astack_new(mgr->mctx, 60),
.inactivereqs = isc_astack_new(mgr->mctx, 60)
.inactivehandles = isc_astack_new(mgr->mctx, 600),
.inactivereqs = isc_astack_new(mgr->mctx, 600)
};
isc_nm_attach(mgr, &sock->mgr);