Increase inactivehandles and inactivereqs size for better reuse.

This commit is contained in:
Witold Kręcicki
2020-02-20 20:08:50 +01:00
parent ea10a32b19
commit baf7a48279
+2 -2
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);