Skip to content

Commit 59ac47b

Browse files
bump core to 9e9a46191656fc9ccd95589dac3552410561d620
1 parent 0a8fbf6 commit 59ac47b

File tree

3 files changed

+13
-6
lines changed

3 files changed

+13
-6
lines changed

packages/core-bridge/Cargo.lock

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/core-bridge/sdk-core

Submodule sdk-core updated 73 files

packages/core-bridge/src/runtime.rs

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use neon::prelude::*;
66
use tracing::{Instrument, warn};
77

88
use temporal_sdk_core::{
9-
CoreRuntime, TokioRuntimeBuilder,
9+
CoreRuntime, RuntimeOptionsBuilder, TokioRuntimeBuilder,
1010
api::telemetry::{
1111
CoreLog, OtelCollectorOptions as CoreOtelCollectorOptions,
1212
PrometheusExporterOptions as CorePrometheusExporterOptions, metrics::CoreMeter,
@@ -62,8 +62,14 @@ pub fn runtime_new(
6262
let (telemetry_options, metrics_options, logging_options) = bridge_options.try_into()?;
6363

6464
// Create core runtime which starts tokio multi-thread runtime
65-
let mut core_runtime = CoreRuntime::new(telemetry_options, TokioRuntimeBuilder::default())
66-
.context("Failed to initialize Core Runtime")?;
65+
let mut core_runtime = CoreRuntime::new(
66+
RuntimeOptionsBuilder::default()
67+
.telemetry_options(telemetry_options)
68+
.build()
69+
.unwrap(),
70+
TokioRuntimeBuilder::default(),
71+
)
72+
.context("Failed to initialize Core Runtime")?;
6773

6874
enter_sync!(core_runtime);
6975

0 commit comments

Comments
 (0)