Skip to content

Commit

Permalink
set default http timeout to 30min for slow sftp transfer
Browse files Browse the repository at this point in the history
  • Loading branch information
Roy committed Nov 25, 2024
1 parent 01df56a commit 2a3cb54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/terminal/etc/gunicorn.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
bind = '%s:%d' % (CONF.server.bind, CONF.server.port)
backlog = CONF.server.backlog
# 超时
timeout = 30
timeout = 30*60
# 进程数
workers = max(multiprocessing.cpu_count() * 2, 8)
# 指定每个进程开启的线程数
Expand Down

0 comments on commit 2a3cb54

Please sign in to comment.