On the gradio client, we currently limit all connections to expire after 72 hours. This is for several reasons:
So that long-lasting inactive connections don't use up and count towards the maximum limit of TCP connections, i.e. so that we can allow as many people as possible to create share links
So that we push people towards Spaces as the preferred solution for long-term hosting
However, limiting on the client side is not foolproof as someone can edit the gradio library to remove this 72 hour restriction. It would be better to limit the TCP connections on the server side.
@XciD would you be able to take a look at this whenever you have a chance -- as discussed, this is probably not urgent
On the
gradio
client, we currently limit all connections to expire after 72 hours. This is for several reasons:However, limiting on the client side is not foolproof as someone can edit the
gradio
library to remove this 72 hour restriction. It would be better to limit the TCP connections on the server side.@XciD would you be able to take a look at this whenever you have a chance -- as discussed, this is probably not urgent