You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- **deps: add flume properly**
- **feat: put account hydration on a background task**
<!-- greptile_comment -->
## Greptile Summary
Refactors account hydration to run as a background task, improving
validator startup performance by making the process asynchronous.
- Switches from `tokio::mpsc` to `flume` channels for better
multi-producer/consumer performance in `magicblock-account-cloner`
- Reduces concurrent account hydration from 30 to 10 tasks in
`remote_account_cloner_worker.rs` for better resource management
- Improves async task handling in test suites with proper await patterns
and timing adjustments
- Wraps `RemoteAccountClonerWorker` in `Arc` for safe concurrent access
in `magic_validator.rs`
- Adds 5-second sleep in integration tests to accommodate background
hydration timing
<!-- /greptile_comment -->
0 commit comments