You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Adding the ability to prioritize tasks (#519)
This change introduces the possibility of using a task prioritization
mechanism. This mechanism is disabled by default, and can be enabled
using the `enablePrioritization()` method.
## Reminders
- [x] Added/ran automated tests
- [x] Update README and/or examples
- [x] Ran `mvn spotless:apply`
---
Co-authored-by: Gustav Karlsson <[email protected]>
Copy file name to clipboardExpand all lines: db-scheduler-boot-starter/src/main/java/com/github/kagkarlsson/scheduler/boot/autoconfigure/DbSchedulerAutoConfiguration.java
+4
Original file line number
Diff line number
Diff line change
@@ -164,6 +164,10 @@ public Scheduler scheduler(DbSchedulerCustomizer customizer, StatsRegistry regis
Copy file name to clipboardExpand all lines: db-scheduler-boot-starter/src/main/java/com/github/kagkarlsson/scheduler/boot/config/DbSchedulerProperties.java
+11
Original file line number
Diff line number
Diff line change
@@ -114,6 +114,9 @@ public class DbSchedulerProperties {
114
114
/** Whether or not to log the {@link Throwable} that caused a task to fail. */
Copy file name to clipboardExpand all lines: db-scheduler-boot-starter/src/test/java/com/github/kagkarlsson/scheduler/boot/autoconfigure/DbSchedulerAutoConfigurationTest.java
+14
Original file line number
Diff line number
Diff line change
@@ -182,6 +182,20 @@ public void it_should_start_when_the_context_is_ready() {
0 commit comments