diff --git a/packages/indexer-agent/src/commands/common-options.ts b/packages/indexer-agent/src/commands/common-options.ts index 75c709494..3f61bde7c 100644 --- a/packages/indexer-agent/src/commands/common-options.ts +++ b/packages/indexer-agent/src/commands/common-options.ts @@ -35,6 +35,13 @@ export function injectCommonStartupOptions(argv: Argv): Argv { default: 'debug', group: 'Indexer Infrastructure', }) + .option('polling-interval', { + description: 'Polling interval for data collection', + type: 'number', + required: false, + default: 120_000, + group: 'Indexer Infrastructure', + }) .option('offchain-subgraphs', { description: 'Subgraphs to index that are not on chain (comma-separated)', type: 'string', diff --git a/packages/indexer-agent/src/commands/start.ts b/packages/indexer-agent/src/commands/start.ts index fd9db785f..25a9fcf01 100644 --- a/packages/indexer-agent/src/commands/start.ts +++ b/packages/indexer-agent/src/commands/start.ts @@ -299,13 +299,6 @@ export const start = { default: 'auto', group: 'Indexer Infrastructure', }) - .option('polling-interval', { - description: 'Polling interval for data collection', - type: 'number', - required: false, - default: 120_000, - group: 'Indexer Infrastructure', - }) .option('auto-allocation-min-batch-size', { description: `Minimum number of allocation transactions inside a batch for auto allocation management. No obvious upperbound, with default of 1`, type: 'number',