Skip to content

Add Simple Retry Mechanism for Rate Limits #29

Description

@jordanpartridge

Implement basic retry logic for rate limit errors:

// In config/github-client.php
'retry' => [
    'max_attempts' => 3,
    'delay' => 1000, // milliseconds
    'only_on' => [
        GithubRateLimitException::class,
    ],
],

Implementation:

  1. Add retry config options
  2. Create RetryMiddleware
  3. Add to connector pipeline
  4. Add tests for retry behavior

This provides automatic handling of temporary rate limit issues.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions