Signed-off-by: allan716 <[email protected]>
@@ -107,10 +107,11 @@ func GetCodeFromWeb(l *logrus.Logger, nowTimeFileNamePrix string) (string, strin
if err != nil {
updateTimeString, code, err = getCodeFromWeb(l, desUrlBackup)
+ time.Sleep(time.Second * 5)
continue
}
- time.Sleep(time.Second * 5)
+
found = true