-
Notifications
You must be signed in to change notification settings - Fork 84
Open
Description
Whenever I published a message on a subscription it always publishes two messages instead of one. It only happens when the phoenix_pubsub_redis
adapter is used for the pubsub. If I use the PG2 adapter the errors stops from happening.
Using Redis as backend we have two messages been published:
The expected behaviour would be only one message been published.
I don't know if it is a issue with absinthe or with the redis adapter, but is a really strange behaviour.
I created a bootstrap phoenix project with the minimal to simulate the behaviour.
Versions:
Elixir version: 1.9.1
OTP version: 21.1.1
Deps:
{:phoenix, "~> 1.4.9"},
{:phoenix_pubsub, "~> 1.1"},
{:gettext, "~> 0.11"},
{:jason, "~> 1.0"},
{:plug_cowboy, "~> 2.0"},
{:absinthe_plug, "~> 1.4"},
{:absinthe_phoenix, "~> 1.4"},
{:phoenix_pubsub_redis, "~> 2.1"}
Metadata
Metadata
Assignees
Labels
No labels