diff options
author | Chocobozzz <me@florianbigard.com> | 2022-09-14 11:35:58 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-09-14 11:45:18 +0200 |
commit | 4404a7c467a2c6863728127eeff5ca4b59619940 (patch) | |
tree | fef12748e97c9474d1ca7f21e13ad435286549d8 /scripts/migrations/peertube-4.2.ts | |
parent | fc3784583ce383cec8619be5b1d311b340b645f9 (diff) | |
download | PeerTube-4404a7c467a2c6863728127eeff5ca4b59619940.tar.gz PeerTube-4404a7c467a2c6863728127eeff5ca4b59619940.tar.zst PeerTube-4404a7c467a2c6863728127eeff5ca4b59619940.zip |
Prevent job queue to be started before plugins
Diffstat (limited to 'scripts/migrations/peertube-4.2.ts')
-rw-r--r-- | scripts/migrations/peertube-4.2.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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 () { | |||
27 | console.log('Generate avatar miniatures from existing avatars.') | 27 | console.log('Generate avatar miniatures from existing avatars.') |
28 | 28 | ||
29 | await initDatabaseModels(true) | 29 | await initDatabaseModels(true) |
30 | JobQueue.Instance.init(true) | 30 | JobQueue.Instance.init() |
31 | 31 | ||
32 | const accounts: AccountModel[] = await AccountModel.findAll({ | 32 | const accounts: AccountModel[] = await AccountModel.findAll({ |
33 | include: [ | 33 | include: [ |