-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
I have an app where pubsub connection is created from actix_rt runtime (based on Tokio runtime), but occasionally I get error just like in #47 when trying to subscribe to the topic.
Fails the same in these configurations:
- Linux host with Redis in Docker
- macOS host with Redis in Docker (within VM of course)
- Linux host with Redis on AWS (Elasticache)
Turns out that library drops connection when stream from subscription is dropped, while the expectation is that subscription will be removed and connection will remain active.
It also happens to not always being able to reconnect before subscribing to another subject, which seems to be exactly the kind of race condition Rust is supposed to avoid.
Also no reconnection happens, despite Redis didn't go away and connection from another library (https://github.com/mitsuhiko/redis-rs) is active all the time.
bodymindarts
Metadata
Metadata
Assignees
Labels
No labels