Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update unique job example to be a little more realistic #11

Merged
merged 1 commit into from
Nov 11, 2023

Commits on Nov 11, 2023

  1. Update unique job example to be a little more realistic

    As I was writing the docs for unique jobs, I found that I wanted to have
    an example that was a little more elaborate than what we already had
    which demonstrated the use of uniqueness along multiple properties
    instead of just duration.
    
    Here, update the unique opts example so that the job becomes reconciling
    a single account that should run every 24 hours, so jobs for account 1
    and account 2 are inserted separately, and we show that a duplicate for
    account 1 isn't allowed. I suspect that this change makes the example a
    little more realistic along the lines of what users will want to do so
    it has that benefit in addition to being more conducive for the docs.
    brandur committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    7cd5ccf View commit details
    Browse the repository at this point in the history