Zhou
Zhou MingxuanHead of R&D
Quality gate blocked
  • Review execution failure: Dependency installation timed out, no results generated

Schedule batch payouts

hanpay-apifeat/payout-batchZhou Mubai · 2026-06-04 16:10
src/payout/batchJob.ts+60
1+export async function runBatch(taskId: string) {
2+ const items = await loadPayouts(taskId);
3+ for (const it of items) {
4+ await transfer(it.account, it.amount);
5+ }
6+}