Skip to content

Commit 20293a5

Browse files
committed
fix: use pipSql
Signed-off-by: Umberto Sgueglia <usgueglia@contractor.linuxfoundation.org>
1 parent a8e8172 commit 20293a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

services/libs/data-access-layer/src/activities/tinybirdAdapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ export function buildActivitiesParams(arg: ExtendedArgs): TBParams {
462462
// segments as Array(String) — cap at 500 to avoid Tinybird 400 on large project groups.
463463
// When an entity filter (memberId/orgId) is present this slice is a preview; users can
464464
// drill into a specific segment for full results.
465-
const MAX_SEGMENTS = 5000
465+
const MAX_SEGMENTS = 2500
466466
const allSegments = toStringArray(arg.segmentIds) ?? []
467467
if (allSegments.length > MAX_SEGMENTS) {
468468
log.warn(

0 commit comments

Comments
 (0)