Uploaded image for project: 'Immutant'
  1. Immutant
  2. IMMUTANT-571

Reconcile default values of :singleton and :id for jobs

    Details

    • Type: Feature Request
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.1.0
    • Labels:
      None

      Description

      The default value of `:singleton` is true, but singleton jobs require an `:id` which is nil, by default. So effectively the default behavior is to log a WARNing.

      I propose we make the default value of `:singleton` false, because it's useless without an `:id`.

      As a convenience, we can let the user pass in the id as the value of `:singleton`, thereby collapsing two args into one.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jcrossley Jim Crossley
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: