We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e05b8e commit 3b5b07eCopy full SHA for 3b5b07e
crates/corro-agent/src/agent/handlers.rs
@@ -760,7 +760,7 @@ pub async fn handle_changes(
760
// complicated loop to process changes efficiently w/ a max concurrency
761
// and a minimum chunk size for bigger and faster SQLite transactions
762
loop {
763
- while (buf_cost >= max_changes_chunk || !queue.is_empty() && join_set.is_empty())
+ while (buf_cost >= max_changes_chunk || (!queue.is_empty() && join_set.is_empty()))
764
&& join_set.len() < MAX_CONCURRENT
765
{
766
// Process if we hit the chunk size OR if we have any items and available capacity
0 commit comments