Skip to content

pkg/settings/limits: swap out EvictTenant for TryCleanup#1889

Merged
jmank88 merged 1 commit intomainfrom
limits-cleanup
Mar 11, 2026
Merged

pkg/settings/limits: swap out EvictTenant for TryCleanup#1889
jmank88 merged 1 commit intomainfrom
limits-cleanup

Conversation

@jmank88
Copy link
Contributor

@jmank88 jmank88 commented Mar 11, 2026

This PR swaps out EvictTenant for a context based internal cleanup method. This keeps the API consistent and the effect controlled, rather than depending on the caller to understand the implementation.

Another alternative, which is arguably simpler with no new API, is to implement the reaping noted in code.

@jmank88 jmank88 requested a review from a team as a code owner March 11, 2026 01:42
@jmank88 jmank88 requested review from mchain0 and pavel-raykov and removed request for patrickhuie19 March 11, 2026 01:42
@github-actions
Copy link

👋 jmank88, thanks for creating this pull request!

To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.

Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks!

@github-actions
Copy link

✅ API Diff Results - github.com/smartcontractkit/chainlink-common

✅ Compatible Changes (1)

pkg/settings/limits (1)
  • TryCleanup — ➕ Added

📄 View full apidiff report

@mchain0
Copy link
Contributor

mchain0 commented Mar 11, 2026

on the client side it requires an update in the code scope of: chainlink#21441

@jmank88 jmank88 added this pull request to the merge queue Mar 11, 2026
Merged via the queue into main with commit a43ea96 Mar 11, 2026
30 of 31 checks passed
@jmank88 jmank88 deleted the limits-cleanup branch March 11, 2026 12:35
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.

3 participants