diff --git a/backend/src/api/mempool.ts b/backend/src/api/mempool.ts index 143db95f7..a425af982 100644 --- a/backend/src/api/mempool.ts +++ b/backend/src/api/mempool.ts @@ -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; } } diff --git a/frontend/src/app/services/websocket.service.ts b/frontend/src/app/services/websocket.service.ts index b414added..8ff25f314 100644 --- a/frontend/src/app/services/websocket.service.ts +++ b/frontend/src/app/services/websocket.service.ts @@ -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); } } }