chore(uwsgi): update configuration for worker reload mechanism

Added a new file entry to .gitignore for .uwsgi-reload and modified uwsgi.debug.ini to implement a touch-based worker reload mechanism, replacing the previous py-autoreload setting. This change enhances the management of API worker reloads during development.
This commit is contained in:
SergeantPanda 2026-07-14 00:53:03 +00:00
parent ab8e3f93c6
commit d1344adb4f
2 changed files with 4 additions and 1 deletions

1
.gitignore vendored
View file

@ -17,6 +17,7 @@ celerybeat-schedule*
dump.rdb
debugpy*
uwsgi.sock
.uwsgi-reload
package-lock.json
models
.idea

View file

@ -66,7 +66,9 @@ ignore-write-errors = true
disable-write-exception = true
# Debugging settings
py-autoreload = 1
# Reload API workers: touch /app/.uwsgi-reload
; py-autoreload = 1
touch-workers-reload = /app/.uwsgi-reload
honour-stdin = true
# Environment variables