fix(trogon-nats): remove unnecessary Box::pin in flush retry closure#72
Conversation
PR SummaryMedium Risk Overview Removes Written by Cursor Bugbot for commit e1da09b. This will update automatically on new commits. Configure here. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
WalkthroughThis PR refactors the retry logic in Changes
Estimated code review effort🎯 4 (Complex) | ⏱️ ~40 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Code Coverage SummaryDetailsDiff against mainResults for commit: e1da09b Minimum allowed coverage is ♻️ This comment has been updated with latest results |
443daf9 to
5e86f94
Compare
Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
5e86f94 to
e1da09b
Compare
Summary
Box::pin(async move { ... })with plainasync move { ... }in the flush retry closure, eliminating a heap allocation per retry attemptFnMut() -> Futbound is satisfied without boxing since every invocation returns the same anonymous future type