Skip to content

Commit

Permalink
fix(util): prolong ntp timeout deadline
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Yang <poan.yang@suse.com>
  • Loading branch information
FrankYang0529 authored and guangbochen committed Sep 27, 2021
1 parent 9362db7 commit 68c789d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/console/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func validateNTPServers(ntpServerList []string) error {
if err != nil {
return err
}
if err := conn.SetDeadline(time.Now().Add(5 * time.Second)); err != nil {
if err := conn.SetDeadline(time.Now().Add(15 * time.Second)); err != nil {
return err
}

Expand Down

0 comments on commit 68c789d

Please sign in to comment.