Display the specific network error text and increase retry coefficient during CLOUDFLARE TIEM!
This commit is contained in:
parent
9f756df31a
commit
a6bf046f8c
@ -2648,6 +2648,14 @@
|
||||
QR.abort();
|
||||
return;
|
||||
}
|
||||
if (this.status !== 200 && this.status !== 304) {
|
||||
Updater.retryCoef += 10 * (Updater.retryCoef < 120);
|
||||
if (Conf['Verbose']) {
|
||||
Updater.count.textContent = this.statusText;
|
||||
Updater.count.className = 'warning';
|
||||
}
|
||||
return;
|
||||
}
|
||||
Updater.retryCoef = 10;
|
||||
Updater.timer.textContent = "-" + Conf['Interval'];
|
||||
/*
|
||||
|
||||
@ -2073,6 +2073,12 @@ Updater =
|
||||
Unread.update true
|
||||
QR.abort()
|
||||
return
|
||||
if @status isnt 200 and @status isnt 304
|
||||
Updater.retryCoef += 10 * (Updater.retryCoef < 120)
|
||||
if Conf['Verbose']
|
||||
Updater.count.textContent = @statusText
|
||||
Updater.count.className = 'warning'
|
||||
return
|
||||
|
||||
Updater.retryCoef = 10
|
||||
Updater.timer.textContent = "-#{Conf['Interval']}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user