mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-03 16:15:27 +00:00
do not clamp nworkers
This commit is contained in:
@@ -75,8 +75,6 @@ main(int argc, char *argv[]) {
|
|||||||
nworkers = atoi(argv[1]);
|
nworkers = atoi(argv[1]);
|
||||||
else
|
else
|
||||||
nworkers = 2;
|
nworkers = 2;
|
||||||
if (nworkers > 24)
|
|
||||||
nworkers = 24;
|
|
||||||
printf("%d workers\n", nworkers);
|
printf("%d workers\n", nworkers);
|
||||||
|
|
||||||
INSIST(isc_rwlock_init(&lock, 5, 10) == ISC_R_SUCCESS);
|
INSIST(isc_rwlock_init(&lock, 5, 10) == ISC_R_SUCCESS);
|
||||||
|
Reference in New Issue
Block a user