Skip to content

Commit

Permalink
increase timeout for write conn
Browse files Browse the repository at this point in the history
  • Loading branch information
somtochiama committed Jan 14, 2025
1 parent f2e53f3 commit 3c71ab2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/corro-agent/src/agent/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -800,7 +800,7 @@ pub async fn process_multiple_changes(
warn!("process_multiple_changes: removing duplicates took too long - {elapsed:?}");
}

let mut conn = timeout(Duration::from_secs(10), agent.pool().write_normal())
let mut conn = timeout(Duration::from_secs(5 * 60), agent.pool().write_normal())
.await
.map_err(PoolError::from)??;

Expand Down

0 comments on commit 3c71ab2

Please sign in to comment.