michaelklishin / quartz-mongodb

A MongoDB-based store for the Quartz scheduler. This fork strives to be as feature complete as possible. Originally by MuleSoft.
Other
248 stars 203 forks source link

When storing a trigger, default to updating when replaceExisting is true #90

Closed jacobsatelbrys closed 9 years ago

jacobsatelbrys commented 9 years ago

In NewRelic, we are seeing DuplicateKey errors even though they are being handled by this code. If we know we want to replace, let's just go ahead an update. This could even be an upsert and we would not need to have the boolean, but why take all the fun? ;)

michaelklishin commented 9 years ago

Thank you!