Overview
ReconciliationService runs on @Cron(CronExpression.EVERY_5_MINUTES) and PAYMENT_RECONCILE_MAX_BATCH bounds one pass at 500 payments, but nothing tests that processing 500 real payments (with their outbound provider calls, even against a sandbox/mock) actually completes well within 5 minutes. If it doesn't, overlapping cron runs become a real risk.
Tasks
Acceptance Criteria
Notes for Contributors
Comment below to be assigned.
Overview
ReconciliationServiceruns on@Cron(CronExpression.EVERY_5_MINUTES)andPAYMENT_RECONCILE_MAX_BATCHbounds one pass at 500 payments, but nothing tests that processing 500 real payments (with their outbound provider calls, even against a sandbox/mock) actually completes well within 5 minutes. If it doesn't, overlapping cron runs become a real risk.Tasks
PAYMENT_RECONCILE_MAX_BATCH-sized batch and asserting it completes within a safety margin under the cron interval.SettlementService.lockAccount).Acceptance Criteria
Notes for Contributors
Comment below to be assigned.