forked from mystiq/dex
Merge pull request #240 from ericchiang/reduce_backoff
cmd: reduce backoff max when worker is waiting for connectors
This commit is contained in:
commit
1675acf21b
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ func main() {
|
||||||
if len(cfgs) > 0 && err == nil {
|
if len(cfgs) > 0 && err == nil {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
sleep = ptime.ExpBackoff(sleep, time.Minute)
|
sleep = ptime.ExpBackoff(sleep, 8*time.Second)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Errorf("Unable to load connectors, retrying in %v: %v", sleep, err)
|
log.Errorf("Unable to load connectors, retrying in %v: %v", sleep, err)
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue