Move `enqueue_reset_expiration` into transition logic
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Rust
- Stars
- 1.6k
- Forks
- 382
- Avg merge
- 20h 23m
- Merged PRs (30d)
- 9
Description
Doing so will reduce the calls to this function to one location. To make this change, pending_reset_expired needs to be moved from recv into counts.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Search for enqueue_reset_expiration and pending_reset_expired, then read the recv, counts, and transition logic around those symbols. Consolidate the function's calls in the transition logic, move pending_reset_expired from recv into counts, and run the existing test suite to confirm behavior is unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- networking
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100