ContainerNursery
ContainerNursery copied to clipboard
Hang request ?
Hello,
I'm currently looking for all my options before trying to implement one.
I'd like to start using yours but there's one question remaining: is it able to hang requests instead of serving a loading page ?
Something similar to https://acouvreur.github.io/sablier/#/strategies?id=blocking-strategy
I'm asking this because I access some of my apps through Android apps so serving an html page while loading wouldn't help. Is that working automatically somehow ? Is it configurable ?
Thanks a lot for the project it looks great !
Sadly delaying responses isn't supported currently, I'm pretty sure it wouldn't be that hard to implement actually and a good idea. The only problem one would have to consider is that if there is a docker container which takes a long time to become ready, the client (or even another reverse proxy in front of ContainerNursery) could run into timeouts.
Anyways, I sadly currently don't have the bandwidth for this issue. But I would accept a PR for this if anyone wants to give it a shot.