Openstatus www.openstatus.dev

🤔 promise allSettled (#762)

authored by

Thibault Le Ouay and committed by
GitHub
43402966 6602a52c

+1 -1
+1 -1
apps/web/src/app/api/checker/cron/_cron.ts
··· 104 104 } 105 105 } 106 106 } 107 - await Promise.all(allResult); 107 + await Promise.allSettled(allResult); 108 108 109 109 console.log(`End cron for ${periodicity} with ${allResult.length} jobs`); 110 110 };