From f4c2f435d96dd223bd10b1aab41acf7e630945c8 Mon Sep 17 00:00:00 2001 From: Kevin Wang Date: Fri, 20 Mar 2026 08:47:34 +0000 Subject: [PATCH] Improve time sync logging visibility Add retry loop with per-attempt logging for NTS time sync, making it easy to diagnose slow NTS-KE handshakes in boot logs. --- dstack-util/src/system_setup.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dstack-util/src/system_setup.rs b/dstack-util/src/system_setup.rs index 35cd3b00..2bc0a097 100644 --- a/dstack-util/src/system_setup.rs +++ b/dstack-util/src/system_setup.rs @@ -709,7 +709,7 @@ async fn do_sys_setup(stage0: Stage0<'_>) -> Result<()> { if stage0.shared.app_compose.secure_time { info!("Waiting for the system time to be synchronized"); cmd! { - chronyc waitsync 20 0.1; + chronyc waitsync 30 0.1 0 5; } .context("Failed to sync system time")?; } else {