Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

chore: change interval to 30 seconds rather than every second #1236

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:
- uses: ./.github/actions/setup-node
- uses: ./.github/actions/install-packages
- name: Run unit tests
run: npm run -w frontend test -- --updateSnapshot
run: npm run -w frontend test -- --updateSnapshot

e2e-test:
name: e2e testing
Expand Down
2 changes: 1 addition & 1 deletion backend/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const config = merge(
checkLatestBlock: SECOND,
checkLatestGasPrice: 15 * SECOND,
checkBlockProductionSpeed: 5 * SECOND,
checkRecentTransactions: SECOND,
checkRecentTransactions: SECOND * 30,
checkNetworkInfo: SECOND,
checkProtocolInfo: HOUR,
checkOnlineNodesCount: SECOND,
Expand Down
2 changes: 1 addition & 1 deletion frontend/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export default defineConfig({
cwd: "..",
command: "npm run -w backend start:mainnet",
reuseExistingServer: !(process.env.CI || process.env.PW_SERVER),
url: `${BACKEND_BASE_URL}/global-state`,
url: `${BACKEND_BASE_URL}/ping`,
env: {
DB_NAME_PREFIX: "test",
},
Expand Down
2 changes: 1 addition & 1 deletion mainnet.env
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ NEAR_EXPLORER_CONFIG__ARCHIVAL_RPC_URL=https://archival-rpc.mainnet.near.org
# Learn more about running your own Indexer for Explorer here: https://github.com/near/near-indexer-for-explorer

# NOTE: These are public services that operate under fair use conditions. Do not abuse them.
NEAR_EXPLORER_CONFIG__DB__READ_ONLY_INDEXER__HOST=mainnet.db.explorer.indexer.near.dev
NEAR_EXPLORER_CONFIG__DB__READ_ONLY_INDEXER__HOST=104.199.89.51
NEAR_EXPLORER_CONFIG__DB__READ_ONLY_INDEXER__DATABASE=mainnet_explorer
NEAR_EXPLORER_CONFIG__DB__READ_ONLY_INDEXER__USER=public_readonly
NEAR_EXPLORER_CONFIG__DB__READ_ONLY_INDEXER__PASSWORD=nearprotocol
Expand Down