Commit 896fb585 authored by Mark Andrews's avatar Mark Andrews

isc_resource_getlimit under windows only supports isc_resource_openfiles

parent 02be459f
Pipeline #6372 passed with stages
in 8 minutes and 41 seconds
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment