Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tap-agent/src/agent/sender_account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ impl Actor for SenderAccount {
stream::iter(allocation_ids)
// Create a sender allocation for each allocation
.map(|allocation_id| state.create_sender_allocation(myself.clone(), allocation_id))
.buffered(10) // Limit concurrency to 10 allocations at a time
.buffer_unordered(10) // Limit concurrency to 10 allocations at a time
.collect::<Vec<anyhow::Result<()>>>()
.await
.into_iter()
Expand Down
2 changes: 1 addition & 1 deletion tap-agent/src/agent/sender_accounts_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ impl Actor for SenderAccountsManager {
.map(|(sender_id, allocation_ids)| {
state.create_or_deny_sender(myself.get_cell(), sender_id, allocation_ids)
})
.buffered(10) // Limit concurrency to 10 senders at a time
.buffer_unordered(10) // Limit concurrency to 10 senders at a time
.collect::<Vec<()>>()
.await;

Expand Down
Loading