Skip to content

Commit

Permalink
nits
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher-Li committed Jan 30, 2024
1 parent 0745c67 commit 8436f71
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions indexer/services/vulcan/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ export const configSchema = {
...redisConfigSchema,

BATCH_PROCESSING_ENABLED: parseBoolean({ default: true }),
KAFKA_BATCH_PROCESSING_COMMIT_FREQUENCY: parseNumber({
default: 20,
}),
KAFKA_BATCH_PROCESSING_COMMIT_FREQUENCY_MS: parseNumber({
default: 3_000,
}),
Expand Down
2 changes: 1 addition & 1 deletion indexer/services/vulcan/src/lib/on-batch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export async function onBatch(
batchProcessingTime,
metricTags,
);
stats.gauge(
stats.timing(
'vulcan.batch_size',
batch.messages.length,
metricTags,
Expand Down

0 comments on commit 8436f71

Please sign in to comment.