Commit d9e9d6a
committed
Fix NTS time sync to properly wait for TLS handshake
chronyc waitsync with multiple retries completes too quickly (~3s) for
NTS-KE TLS handshake. Replace with a loop that retries every 1s for up
to 30s in secure_time mode. Revert dstack-prepare.sh to simple makestep
since secure_time sync is handled in dstack-util.1 parent dbdca25 commit d9e9d6a
2 files changed
Lines changed: 14 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
106 | 101 | | |
107 | 102 | | |
108 | 103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
708 | 708 | | |
709 | 709 | | |
710 | 710 | | |
711 | | - | |
712 | | - | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
713 | 722 | | |
714 | | - | |
715 | 723 | | |
716 | 724 | | |
717 | 725 | | |
| |||
0 commit comments