fix error create problem

This commit is contained in:
ubuntu 2023-11-02 05:12:56 -04:00
parent b6c9ce4763
commit 4113f8b68b
16 changed files with 2445 additions and 5 deletions

26
uwsgi.ini Normal file
View 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