Skip to content

Sleeping on exceptions even when numRetries is at configured limit #100

Closed

Description

@vclayton

When making a request to a node that is not available the ApiCall::makeRequest function will call sleep() regardless of the num_retries config setting, resulting in an unnecessary delay when the current $numRetries is at the configured max.

Side note, it would also be awesome for that to be a usleep() call instead to allow float values for situations where we want to do quicker error handling.

Activity

  1. tharropoulos commented on Jul 16, 2025

    @tharropoulos
    Collaborator

    addresseed both in #97

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions