Skip to content

Commit

Permalink
update gunicorn timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
guohongze committed Jul 31, 2017
1 parent e8b7579 commit 42b919d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/Manual.txt
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
然后将常用脚本上传到/var/opt/adminset/data/scripts 中shell脚本栏将会自动发现脚本。

#监控平台用法
当adminset_agent.py自动上报信息到,监控会自动发线并配置,无需干预.
当adminset_agent.py自动上报信息到,监控会自动发现并配置,无需干预.
当监控页面打开时,前端JS每10秒会异步抓取监控数据
agent默认每60秒上传一次监控数据,可以在adminset_agent.py中自定义

Expand Down Expand Up @@ -132,7 +132,7 @@
强烈建议不要将程序启动在有公网可以直接访问的设备上,如果需要请使用VPN。
建议生产环境中使用https配置服务器<br>
建议adminset放在网管区中,并且开启防火墙。
由于开发方使,我在django的settings中开启了DEBUG,在生产中需要关闭并指定自己的域名。
django的settings中开启了DEBUG,在生产中需要关闭并指定自己的域名。

# 开发者交流
QQ群:427794947
4 changes: 2 additions & 2 deletions gunicorn_conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
chdir = path_of_current_dir

worker_connections = 1000
timeout = 30
timeout = 300
max_requests = 2000
graceful_timeout = 30
graceful_timeout = 300

loglevel = 'info'

Expand Down

0 comments on commit 42b919d

Please sign in to comment.