aspnetcore-redis-rate-limiting
aspnetcore-redis-rate-limiting copied to clipboard
Multiplexer instances are not disposed
hello,
Since the library uses factory pattern to create IConnectionMultiplexer instances my assumption was that the returned objects would be disposed automatically. But as it turned out that's not the case. I suggest you to either drop the factory pattern (and introduce a single ConnectionMultiplexer property) or take care of the proper decommission.
Great library anyway :)
Also, since all it does with the connection multiplexer is call GetDatabase(), maybe it should accept a Database property instead?