mirror of
https://github.com/dokku/dokku.git
synced 2025-12-29 00:25:08 +01:00
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:
@@ -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)
|
||||
|
||||
@@ -1 +1 @@
|
||||
web: python3 web.py second.Procfile
|
||||
web: python3 -u web.py second.Procfile
|
||||
|
||||
Reference in New Issue
Block a user