fix: use -u in Procfile to unbuffer python output

Without this, logs don't get written out immediately, causing tests to fail.
This commit is contained in:
Jose Diaz-Gonzalez
2022-12-28 15:35:26 -05:00
parent 21bb5ea2ed
commit 476a4efa46
2 changed files with 5 additions and 5 deletions

View File

@@ -3,11 +3,11 @@
###############################
# Procfile for development using the new threaded worker (scheduler, twitter stream and delayed job)
cron: python3 worker.py
web: python3 web.py # testing inline comment
worker: python3 worker.py
cron: python3 -u worker.py
web: python3 -u web.py first.Procfile # testing inline comment
worker: python3 -u worker.py
custom: echo -n
release: python3 release.py
release: python3 -u release.py
# Old version with separate processes (use this if you have issues with the threaded version)

View File

@@ -1 +1 @@
web: python3 web.py second.Procfile
web: python3 -u web.py second.Procfile