0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Enabled Collection background syncing

refs https://github.com/TryGhost/Arch/issues/73

Since we've fixed the issues which were executing performance affecting DB
queries, we can enable the background syncing of collections again. This couple
with a new migration to populate the default collections will allow us to start
work on the collections card and will make rolling that card out to GA smoother
and easier as all the required data will be in place.
This commit is contained in:
Fabien "egg" O'Carroll 2023-08-28 13:11:30 +07:00 committed by Fabien 'egg' O'Carroll
parent b545f234b2
commit 3960bfac1d

View file

@ -2,7 +2,6 @@ const {
CollectionsService
} = require('@tryghost/collections');
const BookshelfCollectionsRepository = require('./BookshelfCollectionsRepository');
const labs = require('../../../shared/labs');
let inited = false;
class CollectionsServiceWrapper {
@ -32,9 +31,6 @@ class CollectionsServiceWrapper {
}
async init() {
if (!labs.isSet('collections')) {
return;
}
if (inited) {
return;
}