class Redis

Overview

On redis shard it tries to convert the return of command to Nil When returning an array, it raises an exception So we monkey patch to run the command, ignore it, and return Nil

Included Modules

Defined in:

lib/redis/src/redis.cr
lib/redis/src/redis/command_execution/future_oriented.cr
lib/redis/src/redis/command_execution/value_oriented.cr
lib/redis/src/redis/commands.cr
lib/redis/src/redis/strategy/base.cr
cable/monkeypatch/redis.cr

Instance Method Summary

Instance methods inherited from module Redis::CommandExecution::ValueOriented

void_command(request : Request) : Nil void_command

Instance Method Detail

def _connection : Redis::Connection #

Needs access to connection so we can subscribe to multiple channels


[View source]