Avatar for the PrefectHQ user
PrefectHQ
prefect
BlogDocsChangelog

Add pagination support to lease storage `read_active_lease_ids`

#18973Merged
Comparing
nate/add-lease-storage-pagination
(
a714165
) with
main
(
4200165
)
CodSpeed Performance Gauge
0%
Untouched
2
Ignored
6

Benchmarks

Passed

bench_task_decorator
benches/bench_tasks.py::bench_task_decorator
CodSpeed Performance Gauge
0%
459.3 µs459 µs
bench_import_prefect_flow
benches/bench_import.py::bench_import_prefect_flow
CodSpeed Performance Gauge
0%
1.4 s1.4 s

Ignored

bench_flow_decorator
benches/bench_flows.py::bench_flow_decorator
Ignored
CodSpeed Performance Gauge
-13%
4.1 ms4.7 ms
bench_task_submit
benches/bench_tasks.py::bench_task_submit
Ignored
CodSpeed Performance Gauge
-22%
3.7 ms4.7 ms
bench_import_prefect
benches/bench_import.py::bench_import_prefect
Ignored
CodSpeed Performance Gauge
0%
2.7 ms2.7 ms
bench_flow_call[options1]
benches/bench_flows.py::bench_flow_call[options1]
Ignored
CodSpeed Performance Gauge
0%
105.7 ms106.1 ms
bench_flow_call[options0]
benches/bench_flows.py::bench_flow_call[options0]
Ignored
CodSpeed Performance Gauge
-3%
163 ms168.5 ms
bench_task_call
benches/bench_tasks.py::bench_task_call
Ignored
CodSpeed Performance Gauge
-3%
161 ms166 ms

Commits

Click on a commit to change the comparison range
Base
main
4200165
-0.03%
feat: add pagination support to lease storage read_active_lease_ids - Add offset parameter to read_active_lease_ids method in protocol - Update memory storage to support pagination with offset - Update filesystem storage to support pagination with offset - Fix list_holders_for_limit to properly paginate through all leases - Add comprehensive tests for pagination functionality This enables efficient pagination when searching through many active leases, which will be used by the V1->V2 concurrency adapter.
8978763
1 day ago
by zzstoatzz
+0.03%
fix: add pagination support to Redis lease storage implementation - Update Redis read_active_lease_ids to support offset parameter - Add comprehensive pagination tests for Redis storage - Ensure consistency with memory and filesystem implementations This completes the pagination support across all three storage backends.
a714165
1 day ago
by zzstoatzz
© 2025 CodSpeed Technology
Home Terms Privacy Docs