Tornex.Scheduler.Timer (Tornex v0.1.1)

View Source

Timer used to determine when to dump all of the buckets, see Tornex.Scheduler.Bucket. By default, the bucket will be dumped every 15 seconds to allow for a maximum call rate of 60 API requests per minute. Upon the dump timer ending, the GenServer will send a :dump signal to all Tornex.Scheduler.Bucket under Tornex.Scheduler.Supervisor.

Summary

Functions

Returns a specification to start this module under a supervisor.

Starts the GenServer for the Tornex.Scheduler.Bucket dump timer.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(_)

Starts the GenServer for the Tornex.Scheduler.Bucket dump timer.