Function get_worker_configs

Source
pub fn get_worker_configs() -> Vec<WorkerConfig>
Expand description

Get worker configurations for all standard workers

Concurrency reasoning:

  • Transaction processing (request/sender/status): I/O-bound blockchain calls → high concurrency
  • Notifications: I/O-bound webhook calls → high concurrency
  • Solana swap: DEX operations with multiple tokens → very high concurrency
  • Cleanup: Resource-intensive DB operations → low concurrency to avoid conflicts
  • Health checks: Multiple relayers checked independently → moderate-high concurrency