File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
pythonkr_backend/pythonkr_backend/settings Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -36,9 +36,9 @@ if [ -f ${PID_FILE} ]; then
36
36
PID=$( cat $PID_FILE )
37
37
kill -TERM $PID
38
38
rm ${PID_FILE}
39
- echo " Waiting for gunicorn processes to exit (max 10 seconds)..."
39
+ echo " Waiting for gunicorn processes to exit (max 30 seconds)..."
40
40
timeout=0
41
- while pgrep -u pk gunicorn > /dev/null && [ $timeout -lt 10 ]; do
41
+ while pgrep -u pk gunicorn > /dev/null && [ $timeout -lt 30 ]; do
42
42
sleep 1
43
43
timeout=$(( timeout+ 1 ))
44
44
done
Original file line number Diff line number Diff line change 37
37
IS_PRODUCTION_SERVER = os .environ .get ('IS_WSGI_ENVIRONMENT' ) == 'True' or \
38
38
os .environ .get ('IS_ASGI_ENVIRONMENT' ) == 'True'
39
39
40
- logger .error (os .environ )
41
- logger .error (sys .argv )
40
+ logger .info (os .environ )
41
+ logger .info (sys .argv )
42
42
43
43
# logfire settings
44
44
if IS_PRODUCTION_SERVER :
You can’t perform that action at this time.
0 commit comments