Explorar o código

Increase MAX_WORKER_THREADS so it can be used in high traffic websites (issue #50)

bel %!s(int64=10) %!d(string=hai) anos
pai
achega
23bdcc98dd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/civetweb.c

+ 1 - 1
src/civetweb.c

@@ -90,7 +90,7 @@
 #include <stdio.h>
 
 #ifndef MAX_WORKER_THREADS
-#define MAX_WORKER_THREADS 1024
+#define MAX_WORKER_THREADS (1024*64)
 #endif
 
 #if defined(_WIN32) && !defined(__SYMBIAN32__) /* Windows specific */