Marvin.Worker (Marvin Load Test v0.1.0) View Source
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Make request to :endpoint with :http_client. Wait for 10 milliseconds and do it again. The reason for the short interval is to make room for the process to receive other signals, namely the :shutdown callback.
Link to this section Types
Specs
state() :: %{ reporter: term(), endpoint: Marvin.Config.endpoint(), http_client: term(), n_failed: number(), n_successful: number() }
Link to this section Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Specs
Make request to :endpoint with :http_client. Wait for 10 milliseconds and do it again. The reason for the short interval is to make room for the process to receive other signals, namely the :shutdown callback.