Fix compile error.
This commit is contained in:
1 parent
2910c571b0
commit
4919c8f2f9
1 file changed
+1
@@ -79,6 +79,7 @@ size_t net_get_max_sockets()
|
||||
return limits.rlim_max;
|
||||
}
|
||||
LOG_ERROR("getrlimit() failed");
|
||||
return 1024;
|
||||
#else
|
||||
#ifdef WIN32
|
||||
LOG_WARN("Windows system, limited to 4096 connections.");
|
||||
|
||||
Reference in new issue
Block a user