Skip to content

Add reactor-cleanup-nocommit#68677

Draft
harshang03 wants to merge 1 commit intosaltstack:masterfrom
harshang03:fix-68660-reactor-cleanup-nocommit
Draft

Add reactor-cleanup-nocommit#68677
harshang03 wants to merge 1 commit intosaltstack:masterfrom
harshang03:fix-68660-reactor-cleanup-nocommit

Conversation

@harshang03
Copy link

What does this PR do?

Adds periodic cleanup of reactor client caches, exposes a reactor.cleanup runner to trigger cleanup on demand, and adds unit coverage for cache expiry behavior.

What issues does this PR fix or reference?

Fixes #68660

Previous Behavior

Reactor processes could retain cached client objects indefinitely, contributing to memory growth during sustained event processing.

New Behavior

Reactor periodically purges expired cache entries and can be asked to clean up immediately via salt-run reactor.cleanup.

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

No

Links referenced:
#68660

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.

[Bug]: Reactor memory leak

1 participant