ContainerNursery icon indicating copy to clipboard operation
ContainerNursery copied to clipboard

Hang request ?

Open maxime1992 opened this issue 11 months ago • 1 comments

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 !

maxime1992 avatar Mar 24 '24 07:03 maxime1992

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.

ItsEcholot avatar Mar 27 '24 17:03 ItsEcholot