Skip to content

Reduce OpenRouter sync batch size from 50 to 20#4183

Merged
lukemelia merged 1 commit intomainfrom
reduce-sync-batch-size
Mar 13, 2026
Merged

Reduce OpenRouter sync batch size from 50 to 20#4183
lukemelia merged 1 commit intomainfrom
reduce-sync-batch-size

Conversation

@lukemelia
Copy link
Contributor

Summary

  • Reduces BATCH_SIZE in SyncOpenRouterModelsCommand from 50 to 20 to lower the risk of timeouts and partial failures during atomic batch operations against a realm server.

Test plan

  • Run the sync command against a realm and verify batches complete without timeout errors

🤖 Generated with Claude Code

Smaller batches reduce the risk of timeouts and partial failures
when syncing models to a realm via atomic operations.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link

Preview deployments

@github-actions
Copy link

github-actions bot commented Mar 13, 2026

Host Test Results

    1 files  ±    0      1 suites  ±0   5h 2m 20s ⏱️ + 2h 29m 55s
2 020 tests ±    0  2 004 ✅ ±    0  15 💤 ± 0  0 ❌ ±0  1 🔥 ±0 
4 070 runs  +2 035  4 038 ✅ +2 020  30 💤 +15  1 ❌ ±0  1 🔥 ±0 

For more details on these errors, see this check.

Results for commit ee6b4c0. ± Comparison against base commit 13de6f6.

♻️ This comment has been updated with latest results.

@lukemelia lukemelia merged commit 9628fba into main Mar 13, 2026
127 of 131 checks passed
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.

1 participant