diff --git a/plugins/catalog-backend/src/next/Stitcher.ts b/plugins/catalog-backend/src/next/Stitcher.ts index 6958c7c3cf..79cbdd3a8e 100644 --- a/plugins/catalog-backend/src/next/Stitcher.ts +++ b/plugins/catalog-backend/src/next/Stitcher.ts @@ -60,7 +60,6 @@ export class Stitcher { async stitch(entityRefs: Set) { for (const entityRef of entityRefs) { - const endTimer = createTimer('stitch'); try { const ticket = uuid(); const ticketRows = await this.database( @@ -236,7 +235,6 @@ export class Stitcher { .where({ entity_id: entityId }) .delete(); await this.database.batchInsert('search', searchEntries, BATCH_SIZE); - endTimer(); } catch (error) { this.logger.error(`Failed to stitch ${entityRef}, ${error}`); }