Jumbo v1.0.2 Jumbo.QueueOptions
Structure representing options that can be passed to Jumbo.Queue
upon
initialization.
It has the following fields:
- concurrency: non-negative integer telling how many concurrent jobs can be running simulanously for this queue (defaults to 1),
- poll_interval: positive integer expressing interval in milliseconds, how often the queue should check if there are no failed or scheduled jobs to enqueue (defaults to 1000),
- stats_interval: positive integer expressing interval in milliseconds, how often the queue should collect statistics (defaults to 60000),
- logger_tag: string that should be appended to all log messages from this
queue, or
nil
, - max_failure_count: non-negative integer telling how many times failed jobs, will be retried before removing them from the queue (defaults to 20).
Summary
Types
t()
t() :: %Jumbo.QueueOptions{concurrency: concurrency_t, logger_tag: logger_tag_t, max_failure_count: max_failure_count_t, poll_interval: poll_interval_t, stats_interval: stats_interval_t}