diff --git a/src/network/network.c b/src/network/network.c index 6a90541..614e5da 100644 --- a/src/network/network.c +++ b/src/network/network.c @@ -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.");