# Valkey, not Redis (licensing - see continuum-common/docs/LICENSES.md). # The `redis://` scheme is the RESP wire protocol; redis-rs has no # `valkey://` scheme to use instead. CONTINUUM_VALKEY_URL=redis://localhost:6379 CONTINUUM_FRAME_STREAM=stream:camera_frames # Where entries go that must not be retried: a malformed task, or one # redelivered CONTINUUM_MAX_DELIVERIES times. A separate stream so a poison # entry can neither block the queue nor vanish. CONTINUUM_DEAD_LETTER_STREAM=stream:camera_frames:dead CONTINUUM_CONSUMER_GROUP=ai-worker # Must be unique per process: two consumers sharing a name share a pending # list, so each would reclaim entries the other is working on. CONTINUUM_CONSUMER_NAME=ai-worker-1 # How long XREADGROUP blocks waiting for new entries. CONTINUUM_BLOCK_MS=5000 # How long an unacknowledged entry must sit before another consumer may claim # it. Must comfortably exceed the time to process one frame - once inference # is real that is a model run, not the no-op it is today. CONTINUUM_CLAIM_IDLE_MS=60000 # Deliveries before an entry is dead-lettered instead of retried again. CONTINUUM_MAX_DELIVERIES=5 RUST_LOG=info,continuum_ai_worker=debug