We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 451a12f commit 32e7ec5Copy full SHA for 32e7ec5
temporalio/worker/_tuning.py
@@ -453,10 +453,12 @@ def _to_bridge_tuner(self) -> temporalio.bridge.worker.TunerHolder:
453
)
454
455
def _get_activities_max(self) -> Optional[int]:
456
- return self._get_slot_supplier_max(self._get_activity_task_slot_supplier())
+ return WorkerTuner._get_slot_supplier_max(
457
+ self._get_activity_task_slot_supplier()
458
+ )
459
460
def _get_nexus_tasks_max(self) -> Optional[int]:
- return self._get_slot_supplier_max(self._get_nexus_slot_supplier())
461
+ return WorkerTuner._get_slot_supplier_max(self._get_nexus_slot_supplier())
462
463
@staticmethod
464
def _get_slot_supplier_max(slot_supplier: SlotSupplier) -> Optional[int]:
0 commit comments