mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: respect wait flag on ping (#11896)
This commit is contained in:
+1
-1
@@ -72,7 +72,7 @@ func (r *RootCmd) ping() *clibase.Cmd {
|
||||
start := time.Now()
|
||||
for {
|
||||
if n > 0 {
|
||||
time.Sleep(time.Second)
|
||||
time.Sleep(pingWait)
|
||||
}
|
||||
n++
|
||||
|
||||
|
||||
Reference in New Issue
Block a user