Increased frontend auto reload timeout.

Increased time limit on new transaction processing.
This commit is contained in:
softsimon 2020-06-23 14:49:06 +07:00
parent 0a264a7078
commit c20ba429b1
No known key found for this signature in database
GPG Key ID: 488D7DCFB5A430D7
2 changed files with 2 additions and 2 deletions

View File

@ -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; break;
} }
} }

View File

@ -103,7 +103,7 @@ export class WebsocketService {
if (this.latestGitCommit !== response['git-commit']) { if (this.latestGitCommit !== response['git-commit']) {
setTimeout(() => { setTimeout(() => {
window.location.reload(); window.location.reload();
}, Math.floor(Math.random() * 60000) + 1000); }, Math.floor(Math.random() * 60000) + 60000);
} }
} }
} }