Skip to content

Commit

Permalink
remove hardcoded values
Browse files Browse the repository at this point in the history
  • Loading branch information
Antoine de Chevigné committed Feb 26, 2025
1 parent 07adef0 commit 8d73e5c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions run/lib/env.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ module.exports = {
maxTimeWithoutEnqueuedJob: () => parseInt(process.env.MAX_TIME_WITHOUT_ENQUEUED_JOB) || 60,
maxBlockNumberDiff: () => parseInt(process.env.MAX_BLOCK_NUMBER_DIFF) || 10,
getOpsgenieApiKey: () => process.env.OPSGENIE_API_KEY,
getCounterNamespace: () => 'dev',
whitelistedNetworkIdsForDemo: () => '31337,72778',
maxDemoExplorersForNetwork: () => 3,
getCounterNamespace: () => process.env.COUNTER_NAMESPACE,
whitelistedNetworkIdsForDemo: () => process.env.WHITELISTED_NETWORK_IDS_FOR_DEMO,
maxDemoExplorersForNetwork: () => parseInt(process.env.MAX_DEMO_EXPLORERS_FOR_NETWORK) || 3,
};

0 comments on commit 8d73e5c

Please sign in to comment.