Router: make account write queue big enough for raydium (all pools) (#6)

This commit is contained in:
Serge Farny 2024-10-01 10:19:02 +02:00 committed by GitHub
parent 520d6a74b3
commit c49de6ce0d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ async fn main() -> anyhow::Result<()> {
let (metadata_write_sender, metadata_write_receiver) =
async_channel::unbounded::<FeedMetadata>();
let (slot_sender, slot_receiver) = async_channel::unbounded::<SlotUpdate>();
let (account_update_sender, _) = broadcast::channel(524288); // TODO this is huge, nut init snapshot will completely spam this
let (account_update_sender, _) = broadcast::channel(1048576); // TODO this is huge, but init snapshot will completely spam this
let chain_data = Arc::new(RwLock::new(ChainData::new()));
start_chaindata_updating(