Skip to content
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.

Commit

Permalink
chore: rebase main with redis globalClient
Browse files Browse the repository at this point in the history
  • Loading branch information
RetricSu committed Aug 23, 2022
1 parent 05a4f74 commit 6658749
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/api-server/src/methods/modules/poly.ts
Expand Up @@ -9,6 +9,7 @@ import { Query } from "../../db";
import { ethTxHashToGwTxHash, gwTxHashToEthTxHash } from "../../cache/tx-hash";
import { middleware, validators } from "../validator";
import { MAX_ALLOW_SYNC_BLOCKS_DIFF } from "../constant";
import { globalClient } from "../../cache/redis";
const { version: web3Version } = require("../../../package.json");

export class Poly {
Expand Down Expand Up @@ -107,7 +108,7 @@ export class Poly {
await Promise.all([
this.rpc.ping(),
this.rpc.pingFullNode(),
this.cacheStore.client.PING(),
globalClient.PING(),
this.query.isConnected(),
this.syncBlocksDiff(),
]);
Expand Down

0 comments on commit 6658749

Please sign in to comment.