Skip to content

Ability to use mocked time #50

@blind-oracle

Description

@blind-oracle

It would be nice to be able to use mocked time e.g. https://docs.rs/governor/latest/governor/clock/struct.FakeRelativeClock.html in test. But SharedRateLimiter is now hardcoded to DefaultClock. I guess we can make it generic with a default to DefaultClock? Are PRs on this welcome?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions