Changing timeouts to be more reasonable in sample client

This commit is contained in:
Renan DelValle 2016-08-26 19:19:37 -07:00
parent 917bdca354
commit 494f733f4e
2 changed files with 4 additions and 4 deletions

View file

@ -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)