Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add docker runtime TTL; better runtime connection & feedback #135

Merged
merged 1 commit into from
Dec 10, 2022

Conversation

lihebi
Copy link
Collaborator

@lihebi lihebi commented Dec 10, 2022

Add two timers for runtime:

  • last active time: this is the last time a runtime session is connected. The runtime will be terminated 12h after the last active time. Opening the repo (and connecting the runtime) will refresh the last active record.
  • up time: the is when the runtime is started

On the dashboard, show the runtime's last active time for each repo.

Screenshot 2022-12-10 at 10 25 05 AM

On the repo canvas page, the sidebar shows the up time.

Screenshot 2022-12-10 at 10 27 59 AM

@lihebi
Copy link
Collaborator Author

lihebi commented Dec 10, 2022

This PR implements the docker runtime TTL. A k8s runtime TTL shall be implemented in another PR.

This PR also maintains a better runtime connection & feedback. The runtime will try re-connect automatically, so there won't be a "connect" button anymore.

@lihebi lihebi merged commit 115cfc9 into main Dec 10, 2022
@lihebi lihebi deleted the runtime-ttl branch June 30, 2023 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant