mirror of
https://github.com/go-admin-team/go-admin.git
synced 2026-09-21 10:13:01 +00:00
The sample had producer/consumer nested keys (streamMaxLength, approximateMaxLength, visibilityTimeout, bufferSize, concurrency, blockingTimeout, reclaimInterval) that don't exist on config.RedisQueue — checked against sdk/config/queue.go, which only reads addr, password, and the embedded RedisOptions fields, plus group, key_prefix and max_attempts. Filling in the old sample as written would compile and start fine, since it's YAML under a key the struct doesn't declare, and every one of those settings would be silently ignored. Replaced with the fields the struct actually has. Still commented out — redis stays opt-in, this only fixes what filling it in would produce.