You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I may be doing something non-idiomatic to get that info, but if I am not... should this method exist?
And should it return a "localhost"-ish value like above?
The text was updated successfully, but these errors were encountered:
# If Redis.current is not a Redis, it is a MockRedis
def connection_details
current = Redis.current
if current.is_a?(Redis)
current.connection
else
current.options.merge(id: "mock_redis")
end
end
Would welcome a pull request adding an implementation for this, though it's unclear what the values should be as there isn't an actual TCP port being exposed.
There is a method on the Redis client that allows getting
connection
information:I may be doing something non-idiomatic to get that info, but if I am not... should this method exist?
And should it return a "localhost"-ish value like above?
The text was updated successfully, but these errors were encountered: