fix error create problem
This commit is contained in:
parent
b6c9ce4763
commit
4113f8b68b
16 changed files with 2445 additions and 5 deletions
26
uwsgi.ini
Normal file
26
uwsgi.ini
Normal file
|
@ -0,0 +1,26 @@
|
|||
[uwsgi]
|
||||
# Socket and pid file location/permission.
|
||||
socket = :8000
|
||||
pidfile = /tmp/dmoj-site.pid
|
||||
chmod-pidfile = 666
|
||||
|
||||
# Paths.
|
||||
chdir = .
|
||||
|
||||
# Details regarding DMOJ application.
|
||||
protocol = uwsgi
|
||||
master = true
|
||||
plugins = python
|
||||
env = DJANGO_SETTINGS_MODULE=dmoj.settings
|
||||
module = dmoj.wsgi:application
|
||||
optimize = 2
|
||||
|
||||
# Logging
|
||||
disable-logging = true
|
||||
log-4xx = true
|
||||
log-5xx = true
|
||||
|
||||
# Scaling settings. Tune as you like.
|
||||
memory-report = true
|
||||
reload-on-rss = 512M
|
||||
workers = 8
|
Loading…
Add table
Add a link
Reference in a new issue