From 4404a7c467a2c6863728127eeff5ca4b59619940 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 14 Sep 2022 11:35:58 +0200 Subject: Prevent job queue to be started before plugins --- scripts/migrations/peertube-4.0.ts | 2 +- scripts/migrations/peertube-4.2.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/migrations') diff --git a/scripts/migrations/peertube-4.0.ts b/scripts/migrations/peertube-4.0.ts index 9e5ca60d4..b0891c2e6 100644 --- a/scripts/migrations/peertube-4.0.ts +++ b/scripts/migrations/peertube-4.0.ts @@ -21,7 +21,7 @@ async function run () { await initDatabaseModels(true) - JobQueue.Instance.init(true) + JobQueue.Instance.init() const ids = await VideoModel.listLocalIds() diff --git a/scripts/migrations/peertube-4.2.ts b/scripts/migrations/peertube-4.2.ts index 6a9007265..513c629ef 100644 --- a/scripts/migrations/peertube-4.2.ts +++ b/scripts/migrations/peertube-4.2.ts @@ -27,7 +27,7 @@ async function run () { console.log('Generate avatar miniatures from existing avatars.') await initDatabaseModels(true) - JobQueue.Instance.init(true) + JobQueue.Instance.init() const accounts: AccountModel[] = await AccountModel.findAll({ include: [ -- cgit v1.2.3