mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00:00
fix: respect wait flag on ping (#11896)
This commit is contained in:
@ -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