Closed Mariatta closed 5 years ago
Do we want to put in any countermeasures against stdout buffering, just in case?
ok, so use the -u
option in Procfile?
That's a good simple way yeah
What would be a better way? π¬
I think all the ways I know of are:
-u
on the command linePYTHONUNBUFFERED=1
in the environmentsys.stdout.reconfigure(line_buffering=True)
They're all kind of ... just fine? I don't think there's any major reason to prefer one over another.
Any harm in doing all of them? π
I've done all below
β
added sys.stdout.reconfigure(line_buffering=True)
β
set the PYTHONUNBUFFERED
environment (in Heroku)
β
add -u
in the Procfile
belt AND suspenders
AND umm I dunno glue or something?
(I'm pretty sure they are all literally exactly equivalent, so no, no harm in doing all of them :-))
anyway LGTM
looks like we're double-testing PRs from branches in the main repo, which I think there's some way to disable but is mostly harmless, just slows down travis slightly
Ohand we don't even have any tests anyway :-) I guess I don't need to wait for the tests to pass then...
Codecov Report
Continue to review full report at Codecov.