瀏覽代碼

좀 더 잘 쓰도록

https://github.com/openNAMU/openNAMU/issues/1712
잉여개발기 (SPDV) 2 年之前
父節點
當前提交
eab6d0043f
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      app.py

+ 2 - 1
app.py

@@ -647,5 +647,6 @@ if __name__ == "__main__":
         app,
         host = server_set['host'],
         port = int(server_set['port']),
-        clear_untrusted_proxy_headers = True
+        clear_untrusted_proxy_headers = True,
+        threads = os.cpu_count()
     )