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 committed 2022-12-28 15:35:26 -05:00
1 parent 21bb5ea2ed
commit 476a4efa46
2 files changed
+5 -5

No files matched your search

+4 -4
View File
@@ -3,11 +3,11 @@
############################### ###############################
# Procfile for development using the new threaded worker (scheduler, twitter stream and delayed job) # Procfile for development using the new threaded worker (scheduler, twitter stream and delayed job)
cron: python3 worker.py cron: python3 -u worker.py
web: python3 web.py # testing inline comment web: python3 -u web.py first.Procfile # testing inline comment
worker: python3 worker.py worker: python3 -u worker.py
custom: echo -n 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) # Old version with separate processes (use this if you have issues with the threaded version)
+1 -1
View File
@@ -1 +1 @@
web: python3 web.py second.Procfile web: python3 -u web.py second.Procfile