mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2025-08-17 16:46:31 +00:00
Update the app list on the 2nd successful server poll to warm the cache earlier
This commit is contained in:
parent
b94e7cd0c2
commit
506bc64b66
@ -112,7 +112,7 @@ NvHTTP.prototype = {
|
|||||||
// Poll for the app list every 10 successful serverinfo polls.
|
// Poll for the app list every 10 successful serverinfo polls.
|
||||||
// Not including the first one to avoid PCs taking a while to show
|
// Not including the first one to avoid PCs taking a while to show
|
||||||
// as online initially
|
// as online initially
|
||||||
if (++this._pollCount % 10 == 0) {
|
if (this._pollCount++ % 10 == 1) {
|
||||||
this.getAppListWithCacheFlush();
|
this.getAppListWithCacheFlush();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user