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 work fetch messages #5764

Merged
merged 3 commits into from
Aug 18, 2024
Merged

client: fix work fetch messages #5764

merged 3 commits into from
Aug 18, 2024

Conversation

davidpanderson
Copy link
Contributor

The client shows messages like
8/16/2024 8:13:47 PM | PrimeGrid | Not requesting tasks: don't need (CPU: ; NVIDIA GPU: ; Intel GPU: )
The reasons are missing.
This is because there are two levels of reason for not fetching a resource:
project-level (like it has no app versions that use the resource)
and global (like the buffer is full).
We were only looking at the project-level reason.
Look at both, to produce e.g.

8/16/2024 8:13:47 PM | PrimeGrid | Not requesting tasks: don't need (CPU: buffer full; NVIDIA GPU: buffer full; Intel GPU: buffer full)

there are two levels of reason: project-specific and global
(i.e. buffer full).
Check both reasons when in the no-fetch message.

Include CPU in type_name_to_num()
@AenBleidd AenBleidd added this to the Client/Manager 8.0.5 milestone Aug 18, 2024
@AenBleidd AenBleidd merged commit 68b6b94 into master Aug 18, 2024
145 checks passed
@AenBleidd AenBleidd deleted the dpa_coproc branch August 18, 2024 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Merged
Development

Successfully merging this pull request may close these issues.

2 participants