Expand description
Redis/Apalis worker initialization.
This module contains all Apalis-specific worker creation logic for the Redis queue backend, including WorkerBuilder configurations, Monitor setup, backoff strategies, and token swap cron workers.
Structs§
- Hasher
Rng - Re-exports from [
tower::util] A [Rng] implementation that uses aHasherto generate the random values. The implementation uses an internal counter to pass to the hasher for each iteration of [Rng::next_u64].
Functions§
- initialize_
redis_ token_ swap_ workers - Initializes swap workers for Solana and Stellar relayers. This function creates and registers workers for relayers that have swap enabled and cron schedule set.
- initialize_
redis_ workers - Initializes Redis/Apalis workers and starts the lifecycle monitor.