瀏覽代碼

sandbox: handle docker stop correctly in uwsgi

master
Michael van Tellingen 9 年之前
父節點
當前提交
4fbcdb8e80
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 3 行新增0 行删除
  1. 3
    0
      sites/sandbox/deploy/uwsgi.ini

+ 3
- 0
sites/sandbox/deploy/uwsgi.ini 查看文件

@@ -9,6 +9,9 @@ lazy = 1
9 9
 thunder-lock = 1
10 10
 buffer-size = 65535
11 11
 
12
+# Handle docker stop
13
+die-on-term = 1  
14
+
12 15
 # Kill requests after 30 seconds
13 16
 harakiri = 30
14 17
 harakiri-verbose = true

Loading…
取消
儲存