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