ExAirtable.RateLimiter.BaseQueue (ExAirtable v0.2.9) View Source

A Ratelimiter contains a map of %ExAirtable.RateLimiter.BaseQueues{}s.

Each Airtable base has its own rate limit, which is why we operate at the base level for rate-limiting.

Link to this section Summary

Types

t()

Track demand from a single BaseQueue GenStage producer

Link to this section Types

Specs

t() :: %ExAirtable.RateLimiter.BaseQueue{
  in_progress: integer(),
  interval: integer(),
  max_demand: integer(),
  requests: MapSet.t(Request.t())
}

Track demand from a single BaseQueue GenStage producer