Skip to content

Commit 2ac0bc4

Browse files
committed
Move the use_single_process parameter to the right function call...
Regression from b74bf96
1 parent 3ef2d83 commit 2ac0bc4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

http_service/bugbug_http/boot.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,7 @@ def boot_worker():
4545

4646
# Download commits DB
4747
logger.info("Downloading commits DB...")
48-
commits_db_downloaded = db.download(
49-
repository.COMMITS_DB, support_files_too=True, use_single_process=True
50-
)
48+
commits_db_downloaded = db.download(repository.COMMITS_DB, support_files_too=True)
5149
if not ALLOW_MISSING_MODELS:
5250
assert commits_db_downloaded
5351

@@ -59,7 +57,7 @@ def boot_worker():
5957

6058
rev_start = "children({})".format(commit["node"])
6159
logger.info("Updating commits DB...")
62-
repository.download_commits(REPO_DIR, rev_start)
60+
repository.download_commits(REPO_DIR, rev_start, use_single_process=True)
6361

6462
# Preload models
6563
bugbug_http.models.preload_models()

0 commit comments

Comments
 (0)