forked from MapComplete/MapComplete
Add ios fixes
This commit is contained in:
parent
c26b037ca5
commit
5123c3836e
8 changed files with 136 additions and 200 deletions
|
@ -71,12 +71,12 @@ export class LayerUpdater {
|
|||
|
||||
private _failCount = 0;
|
||||
private handleFail(reason: any) {
|
||||
console.log("QUERY FAILED (retrying in 1 sec)", reason);
|
||||
console.log("QUERY FAILED (retrying in 5 sec)", reason);
|
||||
this.previousBounds = undefined;
|
||||
const self = this;
|
||||
this._failCount++;
|
||||
window?.setTimeout(
|
||||
function(){self.update()}, this._failCount * 1000
|
||||
function(){self.update()}, this._failCount * 5000
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue