Skip to content

feat: expose a function that tries to clean up idle workers immediately #584

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

Merged
merged 3 commits into from
Aug 17, 2025

Conversation

nyannyacha
Copy link
Contributor

@nyannyacha nyannyacha commented Aug 14, 2025

What kind of change does this PR introduce?

Feature, Enhancement

Description

Exposes a function that tries to request early drop to idle workers.

Snippet:

// ..snip..
EdgeRuntime.userWorkers.tryCleanupIdleWorkers(/* timeout in milliseconds */ 1000);

@nyannyacha nyannyacha force-pushed the ny/feat-fn-cleanup-idle-workers branch from 000eba8 to fcc1ae4 Compare August 14, 2025 10:12
@nyannyacha nyannyacha requested a review from laktek August 14, 2025 10:37
@nyannyacha nyannyacha merged commit 1a1256b into develop Aug 17, 2025
4 checks passed
@nyannyacha nyannyacha deleted the ny/feat-fn-cleanup-idle-workers branch August 17, 2025 23:55
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.

2 participants