PusherServer.Backend.Redis.Subscriber (pusher_server v0.1.2)

Copy Markdown View Source

Receives other nodes' broadcasts from Redis pub/sub and delivers them to the sockets connected to this node.

Redix.PubSub re-subscribes by itself after a reconnect, so this process only has to (a) subscribe once, retrying until Redis is reachable, and (b) ignore messages this very node published.

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.