2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

set configuration lock quotas to 1

This commit is contained in:
Andreas Gustafsson
2000-01-27 21:20:32 +00:00
parent 4ab89b50e5
commit 6d39d25c55
3 changed files with 4 additions and 4 deletions

View File

@@ -77,7 +77,7 @@ dns_view_create(isc_mem_t *mctx, dns_rdataclass_t rdclass,
result = ISC_R_UNEXPECTED;
goto cleanup_name;
}
result = isc_rwlock_init(&view->conflock, UINT_MAX, UINT_MAX);
result = isc_rwlock_init(&view->conflock, 1, 1);
if (result != ISC_R_SUCCESS) {
UNEXPECTED_ERROR(__FILE__, __LINE__,
"isc_rwlock_init() failed: %s",