Hive Hive
Sign in

Fixed daily account usage refresh stalling on large hosted instances

Metadata
Source
GitHub
Version
xcresult-processor-image@0.29.1
Domains
Published
Jun 23, 2026 · 14:18 UTC
Repository
tuist/tuist
Update

The daily refresh job that updates cached monthly usage for each account now splits its queued work into batches of 1,000 jobs before inserting it. This fixes a PostgreSQL bind-parameter limit error (Postgrex.QueryError: protocol can not handle more than 65,535 parameters) that caused the refresh to stall and fail when a large backlog of stale accounts was enqueued at once. On large hosted instances the daily usage rollup will now drain the backlog across multiple batches, while smaller instances behave the same as before.