You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 14, 2022. It is now read-only.
Describe the solution you'd like
We must add an argument when running the cast, like python -m cast --timeout <seconds>. The <seconds> indicates the maximum time limit of the user session. When it expires, the connection must be closed.
We can also add some features for UI and Performance/Resource usage improvements:
Show a timer with the remaining time on the frontend (just if the session is timed).
Create another timeout for when the user stops using the app. (If the time limit was 10 minutes and the user just uses for 2, we'll have resources occupied for this user, without any utilization) So, an option is: close the connection if the user stops using the session before the time expires.
Additional context
The podcast application will run the cast-sh to provide an ephemeral environment. The cast runs as a Kubernetes job, so to turn it temporary, we need to put a timeout.
The text was updated successfully, but these errors were encountered:
Describe the solution you'd like
We must add an argument when running the cast, like
python -m cast --timeout <seconds>
. The<seconds>
indicates the maximum time limit of the user session. When it expires, the connection must be closed.We can also add some features for UI and Performance/Resource usage improvements:
Additional context
The podcast application will run the cast-sh to provide an ephemeral environment. The cast runs as a Kubernetes job, so to turn it temporary, we need to put a timeout.
The text was updated successfully, but these errors were encountered: