Commit 9119ea2
committed
feat(database): TaskQueue concurrencyVersion and role columns
concurrencyVersion records how a queue's concurrency was declared (V1 =
legacy contextual concurrencyLimit, V2 = the explicit perKey/total
shape) so display never has to guess what a stored number meant. role
distinguishes real queues from the rows that back named concurrency
limits, which every queue-facing surface filters out. Defaults cover
all existing rows with no backfill.1 parent 16f2440 commit 9119ea2
2 files changed
Lines changed: 26 additions & 0 deletions
File tree
- internal-packages/database/prisma
- migrations/20260906140000_add_task_queue_concurrency_version_and_role
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1963 | 1963 | | |
1964 | 1964 | | |
1965 | 1965 | | |
| 1966 | + | |
| 1967 | + | |
| 1968 | + | |
| 1969 | + | |
| 1970 | + | |
| 1971 | + | |
| 1972 | + | |
1966 | 1973 | | |
1967 | 1974 | | |
1968 | 1975 | | |
| |||
2016 | 2023 | | |
2017 | 2024 | | |
2018 | 2025 | | |
| 2026 | + | |
| 2027 | + | |
| 2028 | + | |
| 2029 | + | |
| 2030 | + | |
| 2031 | + | |
| 2032 | + | |
| 2033 | + | |
| 2034 | + | |
| 2035 | + | |
2019 | 2036 | | |
2020 | 2037 | | |
2021 | 2038 | | |
| |||
0 commit comments