bugfixes
All checks were successful
release-tag / release-image (push) Successful in 1m30s

This commit is contained in:
2025-06-09 23:42:58 +02:00
parent 4eba0f4b26
commit ebd186705d
3 changed files with 42 additions and 11 deletions

View File

@@ -314,6 +314,7 @@ func subscribeKeyspace(ctx context.Context, rdb *redis.Client, ranger *Ranger) {
pubsub := rdb.PSubscribe(ctx, "__keyspace@0__:bl:*", "__keyspace@0__:wl:*")
go func() {
for msg := range pubsub.Channel() {
fmt.Println(msg)
key := strings.TrimPrefix(msg.Channel, "__keyspace@0__:")
payload := msg.Payload
if strings.HasPrefix(key, "wl:") {