handlers.toml
Configure task handlers inhandlers.toml. Each handler defines a Docker image and pool settings.
Basic Configuration
Handler Options
Examples
Minimal
Full Configuration
Multiple Handlers
Handler Selection Strategies
- round-robin
- first-available
- random
Cycles through containers sequentially for even distribution.Best for: General workloads, stateless handlers
Container Pooling
Theinstances setting controls how many containers are pre-warmed at startup:
Environment Variables
Pass environment variables to handler containers:Memory Limits
Restrict container memory usage:File Location
TaskDaemon looks for the config file in this order:--configCLI argumentHANDLER_CONFIGenvironment variablehandlers.tomlin current directory/app/handlers.toml(Docker default)