Skip to content

Commit

Permalink
fix: add uwsgi tweaks for closed connection (#131)
Browse files Browse the repository at this point in the history
fix: add readiness probe for lms

chore: remove startup probe and increase timeout of readiness probe

chore: restore startup probe
(cherry picked from commit 33937d2)
  • Loading branch information
Cristhian Garcia authored Aug 12, 2024
1 parent 7d89bd6 commit a8aac49
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions drydock/patches/uwsgi-config
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Fix 502 errors for closed connections
http-keepalive = 1
add-header = Connection: Keep-Alive

# Better startup/shutdown in docker:
die-on-term = true
lazy-apps = false
need-app = true
no-defer-accept = true

# Other settings
master = true
py-call-osafterfork = true
vacuum = true

0 comments on commit a8aac49

Please sign in to comment.