Closed missytake closed 2 years ago
the failing tests are fixed by #40.
Documentation says there is no default timeout btw: https://requests.readthedocs.io/en/latest/user/quickstart/#timeouts
You can tell Requests to stop waiting for a response after a given number of seconds with the timeout parameter. Nearly all production code should use this parameter in nearly all requests. Failure to do so can cause your program to hang indefinitely.
gunicorn then timeouts probably because all workers hanged and no other requests can be processed.
the others are not web-facing and not executed by gunicorn, so we should just get a proper traceback when we call it through a CLI. This has the advantage that we can better react to these errors and debug them. They are a very different area
rebased on master, let's see if CI succeeds now :) (I don't see a reason why not)
Hopefully we get rid of the weird timeout errors this way and get verbose timeout errors now <.<