Skip to content

BM-2572: Add outstanding request throttling to order generator#1717

Merged
willpote merged 4 commits intomainfrom
willpote/og-outstanding
Mar 12, 2026
Merged

BM-2572: Add outstanding request throttling to order generator#1717
willpote merged 4 commits intomainfrom
willpote/og-outstanding

Conversation

@willpote
Copy link
Contributor

@willpote willpote commented Mar 6, 2026

Adds a --max-outstanding-requests flag to the order generator that throttles new request submissions when too many submitted requests are sitting unlocked. Checks outstanding count via the indexer API before each send iteration.

Also relaxes the market-wide expired order alarm.

Changes

  • New get_all_requests_by_requestor on IndexerClient with auto-pagination and client-side filtering by status/timestamp
  • RequestConfig for configurable timeout and request delay on paginated calls
  • Order generator skips sending when outstanding submitted requests (last 24h) hit the cap
  • Pulumi infra wired up for all order generator variants
  • Set MAX_OUTSTANDING_REQUESTS=30 for all prod 8453 order generators

willpote and others added 2 commits March 6, 2026 11:53
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions github-actions bot changed the title Add outstanding request throttling to order generator BM-2572: Add outstanding request throttling to order generator Mar 6, 2026
@linear
Copy link

linear bot commented Mar 6, 2026

@willpote willpote merged commit 31e6a0a into main Mar 12, 2026
26 checks passed
@willpote willpote deleted the willpote/og-outstanding branch March 12, 2026 16:38
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.

2 participants