forked from TrueCloudLab/lego
doesn't sleep after last try
This commit is contained in:
parent
3a426a1382
commit
7557681b06
1 changed files with 3 additions and 1 deletions
|
@ -110,7 +110,9 @@ func (j *jws) Nonce() (string, error) {
|
||||||
// get nonce ok and can continue
|
// get nonce ok and can continue
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
time.Sleep(RETRY_PAUSE);
|
if(i < TRY_COUNT -1) {
|
||||||
|
time.Sleep(RETRY_PAUSE);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if len(j.nonces) == 0 {
|
if len(j.nonces) == 0 {
|
||||||
|
|
Loading…
Reference in a new issue