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

Limit refresh rate of job list #20

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open

Conversation

EvoLandEco
Copy link

@EvoLandEco EvoLandEco commented Mar 9, 2024

As mentioned in #15 , frequently sending squeue might affect cluster performance. In this PR the backend running interval of get_jobs() will be limited by the argument --refresh-interval which is set to 10 seconds in default. The front-end refresh interval remains 1 second

I also added a minimum interval check before passing command arguments to StuiApp, at the moment I set this minimum to 10 seconds.

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