Browse Source

Workaround Cutelyst WSGI threaded mode segfault by enabling master mode

Daniel Nicoletti 9 năm trước cách đây
mục cha
commit
9ea016fb25
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      frameworks/C++/cutelyst/setup_thread.sh

+ 1 - 1
frameworks/C++/cutelyst/setup_thread.sh

@@ -19,4 +19,4 @@ make -j $MAX_THREADS
 export LD_LIBRARY_PATH=/opt/qt${QT_VERSION_MM}/lib:${IROOT}/lib/x86_64-linux-gnu/
 export CUTELYST_CONFIG=${TROOT}/config/config.ini
 
-${IROOT}/bin/cutelyst-wsgi --http-socket :8080 -a ${IROOT}/cutelyst-benchmarks/src/libcutelyst_benchmarks.so -t $MAX_THREADS &
+${IROOT}/bin/cutelyst-wsgi --master --http-socket :8080 -a ${IROOT}/cutelyst-benchmarks/src/libcutelyst_benchmarks.so -t $MAX_THREADS &