[web] add stats to process_notifications cron (#34049)

GitOrigin-RevId: ea6890f2726cba268f1e5eead0643d03757b8dff
This commit is contained in:
Kristina
2026-05-29 08:05:42 +00:00
committed by Copybot
parent 5f1a71580b
commit 5f7e81aafc
@@ -4,8 +4,12 @@ import { processNotifications } from '../modules/notifications/app/src/ProcessNo
async function main() {
logger.info({}, 'Processing notifications...')
await processNotifications()
logger.info({}, 'Notifications processed successfully.')
const { notificationsFound, notificationsReady, emailsSent } =
await processNotifications()
logger.info(
{ notificationsFound, notificationsReady, emailsSent },
'Notifications processed successfully.'
)
}
try {