Increase inactivehandles and inactivereqs size for better reuse.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user