Commit 818e6822 authored by Mark Andrews's avatar Mark Andrews
Browse files

isc_resource_getlimit under windows only supports isc_resource_openfiles

(cherry picked from commit 896fb585)
parent 63f620ed
Pipeline #6374 passed with stages
in 8 minutes and 30 seconds
......@@ -1190,6 +1190,7 @@ setup(void) {
/*
* Get the initial resource limits.
*/
#ifndef WIN32
RUNTIME_CHECK(isc_resource_getlimit(isc_resource_stacksize,
&named_g_initstacksize)
== ISC_R_SUCCESS);
......@@ -1199,6 +1200,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