Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ dependencies = [
"sentry-options==1.2.10",
"sentry-sdk>=2.36.0",
"sortedcontainers>=2.4.0",
"taskbroker-client>=0.20.6,<1",
"taskbroker-client>=0.20.26,<1",
"typing-extensions>=4.15.0",
"zipfile-zstd==0.0.4",
]
Expand Down
5 changes: 2 additions & 3 deletions src/launchpad/worker/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from dataclasses import dataclass

from taskbroker_client.worker import BatchPushTaskWorker, PushTaskWorker, TaskWorker
from taskbroker_client.worker import PushTaskWorker, TaskWorker

from launchpad.options import init_options
from launchpad.sentry_sdk_init import initialize_sentry_sdk
Expand Down Expand Up @@ -96,7 +96,7 @@ def run_worker(
assert config.rpc_host_service, (
"LAUNCHPAD_WORKER_RPC_HOST_SERVICE environment variable is required when push mode is enabled"
)
worker: PushTaskWorker | TaskWorker = BatchPushTaskWorker(
worker: PushTaskWorker | TaskWorker = PushTaskWorker(
app_module="launchpad.worker.app:app",
broker_service=config.rpc_host_service,
max_child_task_count=config.max_child_task_count,
Expand All @@ -108,7 +108,6 @@ def run_worker(
process_type="forkserver",
health_check_file_path=config.health_check_file_path,
pod_name=config.pod_name,
update_in_batches=True,
push_task_timeout=config.push_timeout_sec,
)
else:
Expand Down
Loading
Loading