mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-05 16:58:59 +00:00
Cranking manual refresh polling when disconnected from pubsub.
This commit is contained in:
parent
a2e792a3ed
commit
eeb783ab8e
1 changed files with 1 additions and 2 deletions
|
@ -5304,9 +5304,8 @@
|
|||
if (feed_count > 500) {
|
||||
refresh_interval *= 1.5;
|
||||
}
|
||||
if (this.flags.feed_refreshing_in_realtime) {
|
||||
if (this.flags['feed_refreshing_in_realtime'] && !this.flags['has_unfetched_feeds']) {
|
||||
if (this.socket && this.socket.socket.connected) {
|
||||
CHECK FOR ERRORS/IMPORTING. ALTHOUGH IT SHOULD BE HANDLED BY THE FEEDFETCHER
|
||||
refresh_interval *= 20;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue