Skip to content

Commit

Permalink
Merge pull request #1078 from lens-protocol/chore/faster-tx-status-po…
Browse files Browse the repository at this point in the history
…lling

chore: faster tx status polling period
  • Loading branch information
cesarenaldi authored Feb 18, 2025
2 parents 5456d66 + e5b5664 commit 4a803ba
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/env/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const mainnet: EnvironmentConfig = new Proxy(
name: 'mainnet',
backend: url('https://example.com'),
indexingTimeout: 10000,
pollingInterval: 1000,
pollingInterval: 100,
},
{
get: (_target, _prop) => {
Expand All @@ -38,7 +38,7 @@ export const testnet: EnvironmentConfig = {
name: 'testnet',
backend: url('https://api.testnet.lens.dev/graphql'),
indexingTimeout: 10000,
pollingInterval: 1000,
pollingInterval: 100,
};

/**
Expand All @@ -48,7 +48,7 @@ export const staging: EnvironmentConfig = {
name: 'staging',
backend: url('https://api.staging.lens.dev/graphql'),
indexingTimeout: 20000,
pollingInterval: 2000,
pollingInterval: 100,
};

/**
Expand All @@ -58,5 +58,5 @@ export const local: EnvironmentConfig = {
name: 'local',
backend: url('http://localhost:3000/graphql'),
indexingTimeout: 60000,
pollingInterval: 500,
pollingInterval: 100,
};

0 comments on commit 4a803ba

Please sign in to comment.