mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-17 16:50:53 +00:00
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:
parent
ab8e3f93c6
commit
d1344adb4f
2 changed files with 4 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -17,6 +17,7 @@ celerybeat-schedule*
|
|||
dump.rdb
|
||||
debugpy*
|
||||
uwsgi.sock
|
||||
.uwsgi-reload
|
||||
package-lock.json
|
||||
models
|
||||
.idea
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue