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(base): make able to trigger early drop with other resources #465

Merged
merged 4 commits into from
Dec 25, 2024

Conversation

nyannyacha
Copy link
Collaborator

@nyannyacha nyannyacha commented Dec 23, 2024

What kind of change does this PR introduce?

Feature, Enhancement

Description

This PR makes the early drop be performed even under other resource limits.

  • wallclock limit
    • It may be triggered when half of its limit specified by the main worker has elapsed.
  • worker memory limit
    • It may be triggered when half of its limit specified by the main worker has been reached.

Nevertheless, the fact that if there are remaining requests or background tasks, the runtime will not trigger the early drop is unchanged.

Blocked-by: #462

@nyannyacha nyannyacha force-pushed the fix-apply-early-drop-other-resources branch from 8b340f9 to 5372583 Compare December 23, 2024 01:31
@nyannyacha nyannyacha marked this pull request as draft December 23, 2024 01:41
@nyannyacha nyannyacha marked this pull request as ready for review December 23, 2024 06:35
@nyannyacha nyannyacha force-pushed the fix-apply-early-drop-other-resources branch from 5372583 to 1184aee Compare December 23, 2024 07:08
@nyannyacha nyannyacha merged commit 667db65 into main Dec 25, 2024
3 checks passed
@nyannyacha nyannyacha deleted the fix-apply-early-drop-other-resources branch December 25, 2024 21:01
Copy link

🎉 This PR is included in version 1.66.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants