mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-27 02:42:25 +08:00
chore(server): disable nightly subscriptions expirasion check (#10298)
This commit is contained in:
@@ -45,13 +45,14 @@ export class SubscriptionCronJobs {
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
await this.queue.add(
|
// FIXME(@forehalo): the strategy is totally wrong, for monthly plan. redesign required
|
||||||
'nightly.notifyAboutToExpireWorkspaceSubscriptions',
|
// await this.queue.add(
|
||||||
{},
|
// 'nightly.notifyAboutToExpireWorkspaceSubscriptions',
|
||||||
{
|
// {},
|
||||||
jobId: 'nightly-payment-notify-about-to-expire-workspace-subscriptions',
|
// {
|
||||||
}
|
// jobId: 'nightly-payment-notify-about-to-expire-workspace-subscriptions',
|
||||||
);
|
// }
|
||||||
|
// );
|
||||||
}
|
}
|
||||||
|
|
||||||
@OnJob('nightly.notifyAboutToExpireWorkspaceSubscriptions')
|
@OnJob('nightly.notifyAboutToExpireWorkspaceSubscriptions')
|
||||||
|
|||||||
Reference in New Issue
Block a user