-
Notifications
You must be signed in to change notification settings - Fork 45
Closed
Labels
tasks-apiIssues relating to the tasks API and general API contract from the libraryIssues relating to the tasks API and general API contract from the library
Milestone
Description
The priority field is currently an opaque positive integer. As currently implemented:
- "Higher priority" (ie more urgent) is encoded as a greater
priorityvalue - Tasks which don't define a priority are set as 0.
This presents a few issues:
- The maximum value is unbounded, which could cause issues with different database backends
- It's not possible to define a task as being lower priority than the default (without defining your own default and using it across your application (which doesn't work for external tasks))
Therefore, the scale needs to be better defined:
- How many increments are needed? 10, 50, 100, 1000 etc
- How are lower-than-default priority tasks encoded? Use 0 as the default and support negative? Set the default as half way through the range?
Metadata
Metadata
Assignees
Labels
tasks-apiIssues relating to the tasks API and general API contract from the libraryIssues relating to the tasks API and general API contract from the library