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 am using the RediStack library in my Swift project with Vapor, and I need to send multiple commands to Redis together as a batch to improve performance. However, I couldn't find a direct way to send multiple commands together using the existing API.
Current Behavior
The send(command: String...) function appears to set connection.sendCommandsImmediately = true under the hood, which sends each command immediately and cannot be configured otherwise. Even if I construct RedisCommand myself, I don't see any way to send it manually, only through send(command: String...). Please correct me if I'm wrong.
I found several old discussions about this topic, but all of them seem irrelevant.
The text was updated successfully, but these errors were encountered:
I am using the RediStack library in my Swift project with Vapor, and I need to send multiple commands to Redis together as a batch to improve performance. However, I couldn't find a direct way to send multiple commands together using the existing API.
Current Behavior
The
send(command: String...)
function appears to setconnection.sendCommandsImmediately = true
under the hood, which sends each command immediately and cannot be configured otherwise. Even if I constructRedisCommand
myself, I don't see any way to send it manually, only throughsend(command: String...)
. Please correct me if I'm wrong.I found several old discussions about this topic, but all of them seem irrelevant.
The text was updated successfully, but these errors were encountered: