taskIdToStaleStatusDaoIntKey static method
- String taskId
Returns DaoInt key for "stale" task status.
When a task failed too often (e.g. 50 times), we "stale" it. When it's in a "stale" status, we don't run it anymore, but it's still visible in the background task page. Here, the user can stop it altogether (like any failed taks) or un-stale it.
Implementation
static String taskIdToStaleStatusDaoIntKey(String taskId) =>
'taskStaleStatus:$taskId';