PrefectHQ
prefect
BlogDocsChangelog

fix: prevent heartbeat events after flow run completes

#19641
Comparing
fix-heartbeat-after-completion
(
4d356a5
) with
main
(
d57bddf
)
CodSpeed Performance Gauge
0%
Untouched
2
Ignored
6

Benchmarks

Passed

bench_import_prefect_flow
benches/bench_import.py
CodSpeed Performance Gauge
0%
1.4 s1.4 s
bench_task_decorator
benches/bench_tasks.py
CodSpeed Performance Gauge
0%
462.9 µs463.2 µs

Ignored

bench_flow_call[options0]
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
-6%
159.3 ms170.3 ms
bench_task_call
benches/bench_tasks.py
Ignored
CodSpeed Performance Gauge
-37%
31 ms49.2 ms
bench_task_submit
benches/bench_tasks.py
Ignored
CodSpeed Performance Gauge
-21%
9 ms11.4 ms
bench_flow_decorator
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
+2%
5.6 ms5.5 ms
bench_import_prefect
benches/bench_import.py
Ignored
CodSpeed Performance Gauge
0%
1.1 s1.1 s
bench_flow_call[options1]
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
0%
107.7 ms107.5 ms

Commits

Click on a commit to change the comparison range
Base
main
d57bddf
-0.03%
Move heartbeat setting from runner to flows - Add flows.heartbeat_frequency with PREFECT_RUNNER_HEARTBEAT_FREQUENCY alias - Add deprecation warning when accessing runner.heartbeat_frequency - Update flow_engine to use flows.heartbeat_frequency - Update docs and tests 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
4d356a5
14 hours ago
by zzstoatzz
© 2025 CodSpeed Technology
Home Terms Privacy Docs