Quantcast
Channel: Active questions tagged redis+java - Stack Overflow
Viewing all articles
Browse latest Browse all 2203

Cannot add new subscription to an existing subscription in Spring data-redis, throws RedisCommandTimeoutException

$
0
0

When I try to add a new channel to an existing subscription it fails:

RedisConnection connection = connectionFactory.getConnection();connection.subscribe(istener, channels);// At this point subscription for channels works, gets updates//...//...Subscription subscription = connection.getSubscription();subscription.subscribe(newChannel);

subscription.subscribe throws io.lettuce.core.RedisCommandTimeoutException: Command timed out after 1 minute(s)

I am stuck, any idea?


Viewing all articles
Browse latest Browse all 2203

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>