File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ class RuntimeOptions:
9696 """Python representation of the Rust struct for runtime options."""
9797
9898 telemetry : TelemetryConfig
99- worker_heartbeat_interval_millis : Optional [int ] = 30_000 # 30s
99+ worker_heartbeat_interval_millis : Optional [int ] = 60_000 # 60s
100100
101101
102102# WARNING: This must match Rust runtime::BufferedLogEntry
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ def __init__(
7474 self ,
7575 * ,
7676 telemetry : TelemetryConfig ,
77- worker_heartbeat_interval : Optional [timedelta ] = timedelta (seconds = 30 ),
77+ worker_heartbeat_interval : Optional [timedelta ] = timedelta (seconds = 60 ),
7878 ) -> None :
7979 """Create a runtime with the provided configuration.
8080
Original file line number Diff line number Diff line change @@ -265,13 +265,13 @@ async def check_metrics() -> None:
265265
266266def test_runtime_options_to_bridge_config () -> None :
267267 runtime = Runtime (telemetry = TelemetryConfig ())
268- assert runtime ._heartbeat_millis == 30_000
268+ assert runtime ._heartbeat_millis == 60_000
269269
270270 runtime = Runtime (
271271 telemetry = TelemetryConfig (),
272- worker_heartbeat_interval = timedelta (seconds = 60 ),
272+ worker_heartbeat_interval = timedelta (seconds = 10 ),
273273 )
274- assert runtime ._heartbeat_millis == 60_000
274+ assert runtime ._heartbeat_millis == 10_000
275275
276276 runtime = Runtime (
277277 telemetry = TelemetryConfig (),
You can’t perform that action at this time.
0 commit comments