Skip to content

Commit 18fba09

Browse files
committed
fix deploy
1 parent ce25c3c commit 18fba09

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

deploy_prod.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ if [ -f ${PID_FILE} ]; then
3636
PID=$(cat $PID_FILE)
3737
kill -TERM $PID
3838
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)..."
4040
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
4242
sleep 1
4343
timeout=$((timeout+1))
4444
done

pythonkr_backend/pythonkr_backend/settings/prod.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737
IS_PRODUCTION_SERVER = os.environ.get('IS_WSGI_ENVIRONMENT') == 'True' or \
3838
os.environ.get('IS_ASGI_ENVIRONMENT') == 'True'
3939

40-
logger.error(os.environ)
41-
logger.error(sys.argv)
40+
logger.info(os.environ)
41+
logger.info(sys.argv)
4242

4343
# logfire settings
4444
if IS_PRODUCTION_SERVER:

0 commit comments

Comments
 (0)