Skip to content

Commit f4c2f43

Browse files
committed
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.
1 parent 627f19a commit f4c2f43

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dstack-util/src/system_setup.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ async fn do_sys_setup(stage0: Stage0<'_>) -> Result<()> {
709709
if stage0.shared.app_compose.secure_time {
710710
info!("Waiting for the system time to be synchronized");
711711
cmd! {
712-
chronyc waitsync 20 0.1;
712+
chronyc waitsync 30 0.1 0 5;
713713
}
714714
.context("Failed to sync system time")?;
715715
} else {

0 commit comments

Comments
 (0)