redix_pubsub_fastlane v0.1.0 Redix.PubSub.Fastlane.Supervisor
Fastlane Supervisor process. To use simply add it to your Application supervisors:
supervisor(Redix.PubSub.Fastlane.Supervisor, [MyApp.PubSub.Redis, [host: "127.0.0.1",
port: 6379,
pool_size: 5]]),
Or start by hands:
{:ok, _} = Redix.PubSub.Fastlane.Supervisor.start_link(MyApp.PubSub.Redis)
Options
:name
- The required name to register the PubSub processes, ie:MyApp.PubSub.Redis
:host
- The redis-server host IP, defaults"127.0.0.1"
:port
- The redis-server port, defaults6379
:database
- The redis-server database id, defaults""
:password
- The redis-server password, defaults""
:pool_size
- The size of hte redis connection pool. Defaults5
:fastlane
- The default fastlane module. Defaultsnil