Changing timeouts to be more reasonable in sample client
This commit is contained in:
parent
917bdca354
commit
494f733f4e
2 changed files with 4 additions and 4 deletions
|
@ -65,7 +65,7 @@ func (m *Monitor) JobUpdate(updateKey aurora.JobUpdateKey, interval int, timeout
|
|||
|
||||
func (m *Monitor) Instances(key *aurora.JobKey, instances int32, interval int, timeout int) bool {
|
||||
|
||||
for i := 0; i*interval <= timeout; i++ {
|
||||
for i := 0; i*interval < timeout; i++ {
|
||||
|
||||
live, err := m.Client.GetInstanceIds(key, aurora.LIVE_STATES)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue