mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 21:10:59 +00:00
style: run prettier over the import-worker reconcile addition
This commit is contained in:
1 parent
6715c4a69a
commit
ecf2d1a7d5
1 file changed
+10
-7
@@ -75,13 +75,16 @@ export async function handleImportJobReconcileTick(
|
||||
jobs: Job<object>[],
|
||||
): Promise<void> {
|
||||
void jobs;
|
||||
await withBackgroundEvent("job.apple_health_import_reconcile", async (evt) => {
|
||||
try {
|
||||
await reconcileOrphanImportJobs();
|
||||
} catch (err) {
|
||||
evt.addWarning(`apple-health-import-reconcile failed: ${err}`);
|
||||
}
|
||||
});
|
||||
await withBackgroundEvent(
|
||||
"job.apple_health_import_reconcile",
|
||||
async (evt) => {
|
||||
try {
|
||||
await reconcileOrphanImportJobs();
|
||||
} catch (err) {
|
||||
evt.addWarning(`apple-health-import-reconcile failed: ${err}`);
|
||||
}
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/** Queue name isolated from revision-1 workers during rolling deployments. */
|
||||
|
||||
Reference in new issue
Block a user