Increased frontend auto reload timeout.
Increased time limit on new transaction processing.
This commit is contained in:
1 parent
b2889abfa9
commit
6d8521b748
2 files changed
+2
-2
No files matched your search
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user