Update the app list on the 2nd successful server poll to warm the cache earlier

This commit is contained in:
Cameron Gutman committed 2016-09-11 22:01:21 -07:00
1 parent b94e7cd0c2
commit 506bc64b66
1 file changed
+1 -1
+1 -1
View File
@@ -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();
}