-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update unique job example to be a little more realistic (#11)
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.
- Loading branch information
Showing
1 changed file
with
36 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters