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
Currently when using drain3 with redis you have to configure a redis_key. This key can be a useful way to seperate data and make Drain3 useful in a multi tenant situation where you might not want templates to be shared.
i.e. Setting up the template miner with redis persistence.
This code creates a redis connection when you instantiate RedisPersistance, this means that with many tenants you can have issues with too many connections.
It would be desirable for RedisPersistance to take an optional property of redis.Redis so that multiple connections are not made.
i.e. Create Redis connection and pass it in to RedisPersistence
Currently when using drain3 with redis you have to configure a redis_key. This key can be a useful way to seperate data and make Drain3 useful in a multi tenant situation where you might not want templates to be shared.
i.e. Setting up the template miner with redis persistence.
This code creates a redis connection when you instantiate RedisPersistance, this means that with many tenants you can have issues with too many connections.
It would be desirable for RedisPersistance to take an optional property of redis.Redis so that multiple connections are not made.
i.e. Create Redis connection and pass it in to RedisPersistence
The text was updated successfully, but these errors were encountered: