Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

agent: Fix polling-interval arg setting #1043

Merged
merged 1 commit into from
Nov 14, 2024
Merged
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
7 changes: 7 additions & 0 deletions packages/indexer-agent/src/commands/common-options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
7 changes: 0 additions & 7 deletions packages/indexer-agent/src/commands/start.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Loading