Skip to content

v12.6.0

Choose a tag to compare

@imperugo imperugo released this 09 Jul 08:51
· 19 commits to master since this release
6244104

Bug Fix

  • Fixed Pub/Sub UnsubscribeAsync and UnsubscribeAllAsync not working with connection pooling (#657)

    When using connection pooling (default pool size: 5), UnsubscribeAsync and UnsubscribeAllAsync were each calling GetConnection() independently, potentially obtaining a different IConnectionMultiplexer than the one used during SubscribeAsync. Since StackExchange.Redis subscriptions are scoped to a specific multiplexer, calling unsubscribe on a different one was silently doing nothing.

    The fix iterates all pool connections and uses ISubscriber.SubscribedEndpoint() to locate the multiplexer holding the active subscription.

Install

dotnet add package StackExchange.Redis.Extensions.Core --version 12.6.0

Full Changelog: v12.5.0...v12.6.0