View Source Venomous.SnakeSupervisor (Venomous v0.7.7)

DynamicSupervisor for Snakes The maximum cap of Venomous.SnakeWorker is defined with :max_children option

Warning

The maximum amount of python processes is capped at your systems maximum number of open file-descriptors ulimit -n to check your limit

Summary

Functions

Returns a specification to start this module under a supervisor.

Deploys snake with given opts Map containing :erlport encoder/decoder module, func and args

Callback implementation for DynamicSupervisor.init/1.

Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

deploy_snake_worker(opts \\ [])

View Source

Deploys snake with given opts Map containing :erlport encoder/decoder module, func and args

Callback implementation for DynamicSupervisor.init/1.

Link to this function

start_link(opts \\ [strategy: :one_for_one, max_children: 50])

View Source