Skip to content

Commit

Permalink
Merge pull request #13 from metacpan/haarg/new-uwsgi-settings
Browse files Browse the repository at this point in the history
new uwsgi settings
  • Loading branch information
haarg authored May 10, 2024
2 parents 1386f3f + ed453a8 commit 6e07ecb
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions uwsgi.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# https://uwsgi-docs.readthedocs.io/en/latest/Options.html
[uwsgi]
master = true
workers = 20
die-on-term = true
need-app = true
vacuum = true

disable-logging = true

Expand All @@ -11,3 +14,12 @@ buffer-size = 65535

early-psgi = true
perl-no-die-catch = true

max-worker-lifetime = 3600
max-requests = 1000
reload-on-rss = 300
harakiri = 60

if-file = /etc/uwsgi-extra.ini
ini = /etc/uwsgi-extra.ini
endfor =

0 comments on commit 6e07ecb

Please sign in to comment.