glucaci / mongodb-quartz-net

MongoDB Job Store for Quartz.NET
MIT License
50 stars 39 forks source link

TriggerRepository should ensure required indexes are created #35

Closed ovidiupop88 closed 7 months ago

ovidiupop88 commented 2 years ago

On large collections (e.g. tens of thousands of triggers), queries which use sort SortBuilder.Ascending(trigger => trigger.NextFireTime), SortBuilder.Descending(trigger => trigger.Priority) will fail unless an index is created.

I can create a PR with the required change.

glucaci commented 7 months ago

released with 4.0.0-preview.2