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
Nice gem btw.
I had a look at the source and found that you are using the redis keys command to get the keys that match a particular pattern.
The keys command is blocking and should only be used for debugging. Since it can block your whole database if it is large enough. https://redis.io/commands/keys
Hi,
Nice gem btw.
I had a look at the source and found that you are using the redis keys command to get the keys that match a particular pattern.
The keys command is blocking and should only be used for debugging. Since it can block your whole database if it is large enough. https://redis.io/commands/keys
You should use scan each instead. It batches the requests to the database. http://www.rubydoc.info/github/redis/redis-rb/Redis%3Ascan_each
The text was updated successfully, but these errors were encountered: