mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00: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(
|
||||
'nightly.notifyAboutToExpireWorkspaceSubscriptions',
|
||||
{},
|
||||
{
|
||||
jobId: 'nightly-payment-notify-about-to-expire-workspace-subscriptions',
|
||||
}
|
||||
);
|
||||
// FIXME(@forehalo): the strategy is totally wrong, for monthly plan. redesign required
|
||||
// await this.queue.add(
|
||||
// 'nightly.notifyAboutToExpireWorkspaceSubscriptions',
|
||||
// {},
|
||||
// {
|
||||
// jobId: 'nightly-payment-notify-about-to-expire-workspace-subscriptions',
|
||||
// }
|
||||
// );
|
||||
}
|
||||
|
||||
@OnJob('nightly.notifyAboutToExpireWorkspaceSubscriptions')
|
||||
|
||||
Reference in New Issue
Block a user