Avatar for the PrefectHQ user
PrefectHQ
prefect
BlogDocsChangelog

Migrate V1 concurrency limits to V2 format in database

#18968
Comparing
nate/oss-6927-v1-v2-concurrency-migration
(
636e2f1
) with
main
(
e4b0dc7
)
CodSpeed Performance Gauge
0%
Untouched
2
Ignored
6

Benchmarks

Passed

bench_import_prefect_flow
benches/bench_import.py::bench_import_prefect_flow
CodSpeed Performance Gauge
0%
1.4 s1.4 s
bench_task_decorator
benches/bench_tasks.py::bench_task_decorator
CodSpeed Performance Gauge
0%
456.5 µs458.2 µs

Ignored

bench_flow_decorator
benches/bench_flows.py::bench_flow_decorator
Ignored
CodSpeed Performance Gauge
+40%
5.1 ms3.7 ms
bench_task_call
benches/bench_tasks.py::bench_task_call
Ignored
CodSpeed Performance Gauge
+2%
167.7 ms164.8 ms
bench_flow_call[options0]
benches/bench_flows.py::bench_flow_call[options0]
Ignored
CodSpeed Performance Gauge
+1%
168.8 ms166.9 ms
bench_flow_call[options1]
benches/bench_flows.py::bench_flow_call[options1]
Ignored
CodSpeed Performance Gauge
0%
106 ms106 ms
bench_task_submit
benches/bench_tasks.py::bench_task_submit
Ignored
CodSpeed Performance Gauge
-9%
5.4 ms5.9 ms
bench_import_prefect
benches/bench_import.py::bench_import_prefect
Ignored
CodSpeed Performance Gauge
0%
2.7 ms2.7 ms

Commits

Click on a commit to change the comparison range
Base
main
e4b0dc7
-0.19%
Add database migration for V1 to V2 concurrency limits This migration converts V1 tag-based concurrency limits to V2 lease-based limits with 'tag:' prefix naming convention. Active slot counts are preserved but no actual leases are created (phantom slots). 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
636e2f1
1 day ago
by zzstoatzz
© 2025 CodSpeed Technology
Home Terms Privacy Docs