increase live activity batch size

This commit is contained in:
Andre Medeiros 2022-10-26 22:55:08 -04:00
parent ab93194e0d
commit 030b73e493

View file

@ -158,7 +158,7 @@ func enqueueLiveActivities(ctx context.Context, logger *zap.Logger, pool *pgxpoo
WHERE next_check_at < $1 WHERE next_check_at < $1
ORDER BY next_check_at ORDER BY next_check_at
FOR UPDATE SKIP LOCKED FOR UPDATE SKIP LOCKED
LIMIT 100 LIMIT 1000
) )
RETURNING live_activities.apns_token` RETURNING live_activities.apns_token`