mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-26 04:15:27 -04:00
isc_resource_getlimit under windows only supports isc_resource_openfiles
This commit is contained in:
parent
02be459f37
commit
896fb585b3
1 changed files with 2 additions and 0 deletions
|
|
@ -1068,6 +1068,7 @@ setup(void) {
|
|||
/*
|
||||
* Get the initial resource limits.
|
||||
*/
|
||||
#ifndef WIN32
|
||||
RUNTIME_CHECK(isc_resource_getlimit(isc_resource_stacksize,
|
||||
&named_g_initstacksize)
|
||||
== ISC_R_SUCCESS);
|
||||
|
|
@ -1077,6 +1078,7 @@ setup(void) {
|
|||
RUNTIME_CHECK(isc_resource_getlimit(isc_resource_coresize,
|
||||
&named_g_initcoresize)
|
||||
== ISC_R_SUCCESS);
|
||||
#endif
|
||||
RUNTIME_CHECK(isc_resource_getlimit(isc_resource_openfiles,
|
||||
&named_g_initopenfiles)
|
||||
== ISC_R_SUCCESS);
|
||||
|
|
|
|||
Loading…
Reference in a new issue