View Source Tulle.HTTP1.Pool (tulle v0.7.1)
Pool for holding Tulle.HTTP1.Client
processes.
In current implementation, at least one connection (one process) is kept open. Idle processes are shutdown with a half-life of 60 seconds.
Summary
Functions
Returns a checked-out Tulle.HTTP1.Client
back to the pool.
Check-out a Tulle.HTTP1.Client
process from the pool,
spawning if necessary.
Returns a specification to start this module under a supervisor.
Types
@type pool() :: GenServer.server()
@type worker() :: pid()
Functions
Returns a checked-out Tulle.HTTP1.Client
back to the pool.
Check-out a Tulle.HTTP1.Client
process from the pool,
spawning if necessary.
Returns a specification to start this module under a supervisor.
See Supervisor
.