Skip to content

Commit 0097ccf

Browse files
authored
chore(core): Upgrade Core (#1667)
1 parent c6e7c88 commit 0097ccf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/core-bridge/sdk-core

Submodule sdk-core updated 69 files

packages/core-bridge/src/conversions.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use std::{collections::HashMap, net::SocketAddr, sync::Arc, time::Duration};
1010
use temporal_client::HttpConnectProxyOptions;
1111
use temporal_sdk_core::api::{
1212
telemetry::{HistogramBucketOverrides, OtlpProtocol},
13-
worker::SlotKind,
13+
worker::{PollerBehavior, SlotKind},
1414
};
1515
use temporal_sdk_core::{
1616
ClientOptions, ClientOptionsBuilder, ClientTlsConfig, ResourceBasedSlotsOptions,
@@ -523,8 +523,8 @@ impl ObjectHandleConversionsExt for Handle<'_, JsObject> {
523523
.use_worker_versioning(js_value_getter!(cx, self, "useVersioning", JsBoolean))
524524
.no_remote_activities(!enable_remote_activities)
525525
.tuner(tuner)
526-
.max_concurrent_wft_polls(max_concurrent_wft_polls)
527-
.max_concurrent_at_polls(max_concurrent_at_polls)
526+
.workflow_task_poller_behavior(PollerBehavior::SimpleMaximum(max_concurrent_wft_polls))
527+
.activity_task_poller_behavior(PollerBehavior::SimpleMaximum(max_concurrent_at_polls))
528528
.nonsticky_to_sticky_poll_ratio(nonsticky_to_sticky_poll_ratio)
529529
.max_cached_workflows(max_cached_workflows)
530530
.sticky_queue_schedule_to_start_timeout(sticky_queue_schedule_to_start_timeout)

0 commit comments

Comments
 (0)