# Scheduler Configuration Example # Copy this to scheduler.yaml and replace placeholders with real values # DO NOT commit the actual scheduler.yaml with real tokens scheduler: bind_addr: "0.0.0.0:7777" # Auto-generate self-signed certs if files don't exist auto_generate_certs: true cert_file: "/etc/fetch_ml/scheduler.crt" key_file: "/etc/fetch_ml/scheduler.key" state_dir: "/var/lib/fetch_ml" default_batch_slots: 3 default_service_slots: 1 starvation_threshold_mins: 5 priority_aging_rate: 0.1 gang_alloc_timeout_secs: 60 acceptance_timeout_secs: 30 metrics_addr: "0.0.0.0:9090" # Generate tokens using: openssl rand -hex 32 # Example: wkr_abc123... (64 hex chars after wkr_) worker_tokens: - id: "worker-01" token: "wkr_PLACEHOLDER_GENERATE_WITH_OPENSSL_RAND_HEX_32" - id: "worker-02" token: "wkr_PLACEHOLDER_GENERATE_WITH_OPENSSL_RAND_HEX_32"