more consistently set lastRrefreshInt
This commit is contained in:
@@ -537,6 +537,8 @@ function fetchData(options) {
|
||||
}
|
||||
let currentTime = new Date().getTime();
|
||||
const refreshMs = refreshInt()
|
||||
lastRefreshInt = refreshMs;
|
||||
|
||||
if (!options.force) {
|
||||
if (
|
||||
currentTime - lastFetch <= refreshMs
|
||||
@@ -6473,8 +6475,6 @@ function refreshInt() {
|
||||
|
||||
//console.log(refresh);
|
||||
|
||||
lastRefreshInt = refresh;
|
||||
|
||||
return refresh;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user