diff --git a/packages/pds/src/signup-queue/activator.ts b/packages/pds/src/signup-queue/activator.ts index 99cd05c1e4e..71842243725 100644 --- a/packages/pds/src/signup-queue/activator.ts +++ b/packages/pds/src/signup-queue/activator.ts @@ -79,8 +79,10 @@ export class SignupActivator { async activateBatch() { const status = await getQueueStatus(this.db) - if (status.disableSignups) return const toAdmit = status.periodAllowance - status.accountsInPeriod + log.info({ ...status, toAdmit }, 'activating accounts') + + if (status.disableSignups) return if (toAdmit < 1) return const activatedAt = new Date().toISOString()