mirror of
https://github.com/mempool/mempool.git
synced 2024-12-28 01:04:28 +01:00
Bugfix for js error on transaction page.
Increase ping-pong timeout.
This commit is contained in:
parent
05bea21cc8
commit
d0b3b240e6
@ -47,7 +47,7 @@
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr *ngIf="tx.status.block_height <= latestBlock.height - 8">
|
||||
<tr *ngIf="latestBlock && tx.status.block_height <= latestBlock.height - 8">
|
||||
<td class="td-width">Included in block</td>
|
||||
<td>
|
||||
<a [routerLink]="['/block/' | relativeUrl, tx.status.block_hash]" [state]="{ data: { blockHeight: tx.status.block_height } }">{{ tx.status.block_height }}</a>
|
||||
|
@ -11,7 +11,7 @@ const WEB_SOCKET_URL = WEB_SOCKET_PROTOCOL + '//' + document.location.hostname +
|
||||
|
||||
const OFFLINE_RETRY_AFTER_MS = 10000;
|
||||
const OFFLINE_PING_CHECK_AFTER_MS = 30000;
|
||||
const EXPECT_PING_RESPONSE_AFTER_MS = 1000;
|
||||
const EXPECT_PING_RESPONSE_AFTER_MS = 4000;
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root'
|
||||
|
Loading…
Reference in New Issue
Block a user