mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
judge: allow minPriority config
This commit is contained in:
1 parent
936acf0139
commit
b548a48b23
10 files changed
+22
-12
No files matched your search
@@ -12,7 +12,7 @@ class TaskModel {
|
||||
const t: Task = {
|
||||
...task,
|
||||
count: task.count ?? 1,
|
||||
priority: task.priority ?? 1,
|
||||
priority: task.priority ?? 0,
|
||||
executeAfter: task.executeAfter || new Date(),
|
||||
_id: new ObjectID(),
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user