mirror of
https://github.com/mempool/mempool.git
synced 2024-12-28 17:24:25 +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>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</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 class="td-width">Included in block</td>
|
||||||
<td>
|
<td>
|
||||||
<a [routerLink]="['/block/' | relativeUrl, tx.status.block_hash]" [state]="{ data: { blockHeight: tx.status.block_height } }">{{ tx.status.block_height }}</a>
|
<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_RETRY_AFTER_MS = 10000;
|
||||||
const OFFLINE_PING_CHECK_AFTER_MS = 30000;
|
const OFFLINE_PING_CHECK_AFTER_MS = 30000;
|
||||||
const EXPECT_PING_RESPONSE_AFTER_MS = 1000;
|
const EXPECT_PING_RESPONSE_AFTER_MS = 4000;
|
||||||
|
|
||||||
@Injectable({
|
@Injectable({
|
||||||
providedIn: 'root'
|
providedIn: 'root'
|
||||||
|
Loading…
Reference in New Issue
Block a user