Skip to content

fix: flush logs less frequently in preview#3190

Merged
mikewilli merged 2 commits into
mainfrom
3187-preview-logs-flush-ratelimit
May 13, 2026
Merged

fix: flush logs less frequently in preview#3190
mikewilli merged 2 commits into
mainfrom
3187-preview-logs-flush-ratelimit

Conversation

@mikewilli
Copy link
Copy Markdown
Contributor

We had the log capacity set to 5 for preview. Presumably this was to flush logs more regularly, but a side effect is that it can easily hit UPDATE rate limits on the log table in BigQuery.

This change uses the default log capacity, but then explicitly flushes all the logs before finishing the task. This is the same thing we do in export_logs_to_json before exporting the logs.

fixes #3187

@mikewilli mikewilli enabled auto-merge May 13, 2026 21:47
@mikewilli mikewilli added this pull request to the merge queue May 13, 2026
Merged via the queue into main with commit 1553bf4 May 13, 2026
4 checks passed
@mikewilli mikewilli deleted the 3187-preview-logs-flush-ratelimit branch May 13, 2026 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Exception while flushing logs: 429 Exceeded rate limits using jetstream preview ...

2 participants