Skip to content

Commit 025f2c0

Browse files
committed
Use 0.2s offset threshold for time sync
1 parent ced0a0e commit 025f2c0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

basefiles/dstack-prepare.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ mount_overlay /home $OVERLAY_TMP
9696

9797
# Make sure the system time is synchronized
9898
log "Waiting for time sync..."
99-
chronyc waitsync 30 1 0 0 2>/dev/null || log "Warning: time sync timed out"
99+
chronyc waitsync 30 0.2 0 0 2>/dev/null || log "Warning: time sync timed out"
100100

101101
if ! [[ -e /dev/tdx_guest ]]; then
102102
modprobe tdx-guest

0 commit comments

Comments
 (0)