We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 631ddba commit dd92860Copy full SHA for dd92860
src/components/progress-report/migrations/reextract-all-progress-reports.migration.ts
@@ -26,7 +26,7 @@ export class ReextractPnpProgressReportsMigration extends BaseMigration {
26
try {
27
const pnp = this.files.asDownloadable(fv);
28
const event = new PeriodicReportUploadedEvent(report, pnp, session);
29
- await this.eventBus.publish(event);
+ await this.db.conn.runInTransaction(() => this.eventBus.publish(event));
30
} catch (e) {
31
this.logger.error('Failed to re-extract PnP', {
32
report: report.id,
0 commit comments