Skip to main content

Module config

Module config 

Source

StructsΒ§

HostConfig
Configuration for a specific host’s rate limiting behavior
HostConfigs
Per-host configuration overrides
RateLimitConfig
Global rate limiting configuration that applies as defaults to all hosts

ConstantsΒ§

DEFAULT_CONCURRENCY πŸ”’
Default number of concurrent requests per host
DEFAULT_REQUEST_INTERVAL πŸ”’
Default interval between requests to the same host

FunctionsΒ§

default_concurrency πŸ”’
Default number of concurrent requests per host
default_request_interval πŸ”’
Default interval between requests to the same host
deserialize_headers πŸ”’
Custom deserializer for headers from TOML config format
serialize_headers πŸ”’
Custom serializer for headers to TOML config format