fix: default to 1 events queue shard

This commit is contained in:
Carl-Gerhard Lindesvärd
2025-11-03 12:03:58 +01:00
parent 742ee8dc1c
commit 730c953bbc

View File

@@ -12,7 +12,7 @@ import type { TrackPayload } from '@openpanel/sdk';
import { Queue as GroupQueue } from 'groupmq';
export const EVENTS_GROUP_QUEUES_SHARDS = Number.parseInt(
process.env.EVENTS_GROUP_QUEUES_SHARDS || '3',
process.env.EVENTS_GROUP_QUEUES_SHARDS || '1',
10,
);