Increase default stacksize

This commit is contained in:
z3APA3A committed 2018-04-21 01:29:15 +03:00
1 parent d1b527b523
commit e469e9e369
3 files changed
+2 -6

No files matched your search

+1 -1
View File
@@ -647,7 +647,7 @@ int MODULEMAINFUNC (int argc, char** argv){
#ifndef _WIN32
pthread_attr_init(&pa);
pthread_attr_setstacksize(&pa,PTHREAD_STACK_MIN + (16384 + srv.stacksize));
pthread_attr_setstacksize(&pa,PTHREAD_STACK_MIN + (32768 + srv.stacksize));
pthread_attr_setdetachstate(&pa,PTHREAD_CREATE_DETACHED);
#endif