This commit is contained in:
Ahmed Ibrahim
2025-07-17 12:44:14 -07:00
parent 2bb8d37b12
commit b73b211ee5
2 changed files with 2 additions and 3 deletions

View File

@@ -1041,8 +1041,7 @@ async fn run_turn(
sess.notify_background_event(
&sub_id,
format!(
"stream error: {e}; retrying {retries}/{} in {:?}",
max_retries, delay
"stream error: {e}; retrying {retries}/{max_retries} in {delay:?}"
),
)
.await;

View File

@@ -173,7 +173,7 @@ async fn integration_creates_and_checks_session_file() {
// 5. Sessions are written asynchronously; wait briefly for the directory to appear.
let sessions_dir = home.path().join("sessions");
let start = Instant::now();
while !sessions_dir.exists() && start.elapsed() < Duration::from_secs(2) {
while !sessions_dir.exists() && start.elapsed() < Duration::from_secs(3) {
std::thread::sleep(Duration::from_millis(50));
}