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

avoid long tail tasks due to PrioritySemaphore, remaing part #11587

Conversation

binmahone
Copy link
Collaborator

@binmahone binmahone commented Oct 11, 2024

This PR is to fix @jlowe 's comment (https://github.com/NVIDIA/spark-rapids/pull/11574/files#r1795652488) after #11574 is already merged.

Signed-off-by: Hongbin Ma (Mahone) <[email protected]>
@binmahone
Copy link
Collaborator Author

build

Copy link
Member

@jlowe jlowe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor style nit otherwise lgtm.

Comment on lines +52 to +53
}
else if (!canAcquire(numPermits)) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
}
else if (!canAcquire(numPermits)) {
} else if (!canAcquire(numPermits)) {

@binmahone binmahone merged commit 0ba4fd2 into NVIDIA:branch-24.12 Oct 11, 2024
46 checks passed
@sameerz sameerz added the bug Something isn't working label Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants