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

client: fix non-CPU-intensive logic #5483

Merged
merged 1 commit into from
Jan 8, 2024
Merged

client: fix non-CPU-intensive logic #5483

merged 1 commit into from
Jan 8, 2024

Conversation

davidpanderson
Copy link
Contributor

Problem: If a project is non-CPU-intensive and has no jobs we ask it for work repeatedly, without backoff.
A project is marked as non-CPU-intensive if
it has no CPU-intensive apps.
This means that a project with no apps
(e.g. because it doesn't have any jobs)
is marked as non-CPU-intensive and pinged without backoff.

Solution: mark a project as non-CPU-intensive only if its scheduler reply says it is
(i.e. there's <non_cpu_intensive/> in its config.xml).

Problem: If a project is non-CPU-intensive and has no jobs
we ask it for work repeatedly, without backoff.
A project is marked as non-CPU-intensive if
it has no CPU-intensive apps.
This means that a project with no apps
(e.g. because it doesn't have any jobs)
is marked as non-CPU-intensive and pinged without backoff.

Solution: mark a project as non-CPU-intensive only if its
scheduler reply says it is
(i.e. there's <non_cpu_intensive/> in its config.xml).
@AenBleidd AenBleidd added this to the Client/Manager 7.26.0 milestone Jan 8, 2024
@AenBleidd AenBleidd merged commit 74329dc into master Jan 8, 2024
86 checks passed
@AenBleidd AenBleidd deleted the dpa_nci branch January 8, 2024 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants