mirror of
https://github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin.git
synced 2026-09-02 20:28:50 +02:00
A pooled SimpleRedis holds a sync.Mutex, so appending one into rc.readers by value copies the lock and trips go vet's copylocks check. Keep the readers by pointer instead; the round-robin over replicas is unchanged. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01D95Nh68xKXhynPXHzozrXp