Exqute v0.1.3 Exqute.Storage View Source

Storage for Redis

Link to this section Summary

Link to this section Functions

Build out a new struct to hold our StorageOpts

Link to this function

enqueue_jobs(schedule, jobs, storage_opts, key_expire_duration)

View Source
Link to this function

filter_active_schedules(storage_opts, schedules, time_range, ref_time)

View Source
Link to this function

get_schedule_first_run_time(storage_opts, schedule)

View Source
Link to this function

get_schedule_last_run_time(storage_opts, schedule)

View Source
Link to this function

get_schedule_names(storage_opts)

View Source
Link to this function

is_schedule_enabled?(storage_opts, schedule)

View Source

Is this schedule enabled?

Link to this function

load_schedules_config(env)

View Source
Link to this function

map_to_schedule(name, schedule)

View Source
Link to this function

persist_schedule(schedule, storage_opts)

View Source
Link to this function

persist_schedule_times(schedules, storage_opts, ref_time)

View Source
Link to this function

queue_key(queue_name, storage_opts)

View Source
Link to this function

schedule_from_storage(name, storage_opts)

View Source

Retrieve the schedule from storage

Link to this function

storage_connected?(storage_opts)

View Source