From e1794026f33e6a87332823866a56f82917f88cda Mon Sep 17 00:00:00 2001 From: mattcasey Date: Mon, 24 Feb 2025 10:00:02 -0700 Subject: [PATCH] only check token gates once a day --- apps/cron/src/cron.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/cron/src/cron.ts b/apps/cron/src/cron.ts index 661f4550cf..8455713d3d 100644 --- a/apps/cron/src/cron.ts +++ b/apps/cron/src/cron.ts @@ -56,7 +56,7 @@ cron.schedule('*/30 * * * *', voteTask); cron.schedule('*/15 * * * *', proposalTask); // Verify token gates and remove users who no longer meet the conditions -cron.schedule('*/30 * * * *', verifyTokenGateMembershipsTask); +cron.schedule('0 0 * * *', verifyTokenGateMembershipsTask); // Refresh applications with pending payments cron.schedule('*/30 * * * *', refreshBountyApplications);