antikythera v0.2.0 Antikythera.Test.AsyncJobHelper View Source
Helpers for tests that target async jobs.
Link to this section Summary
Functions
Resets the token bucket that rate-limits accesses to the specified async job queue
Link to this section Functions
Link to this function
reset_rate_limit_status(epool_id)
View Source
reset_rate_limit_status(Antikythera.ExecutorPool.Id.t()) :: :ok
Resets the token bucket that rate-limits accesses to the specified async job queue.
This function is useful when you hit the rate limit in your tests.
You can accelerate your test execution by resetting the token bucket.
See Antikythera.AsyncJob
for more details about rate limiting.