mirror of
https://github.com/mempool/mempool.git
synced 2025-01-18 05:12:35 +01:00
Increased frontend auto reload timeout.
Increased time limit on new transaction processing.
This commit is contained in:
parent
0a264a7078
commit
c20ba429b1
@ -119,7 +119,7 @@ class Mempool {
|
||||
}
|
||||
}
|
||||
|
||||
if ((new Date().getTime()) - start > config.MEMPOOL_REFRESH_RATE_MS) {
|
||||
if ((new Date().getTime()) - start > config.MEMPOOL_REFRESH_RATE_MS * 10) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -103,7 +103,7 @@ export class WebsocketService {
|
||||
if (this.latestGitCommit !== response['git-commit']) {
|
||||
setTimeout(() => {
|
||||
window.location.reload();
|
||||
}, Math.floor(Math.random() * 60000) + 1000);
|
||||
}, Math.floor(Math.random() * 60000) + 60000);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user