chore: template

This commit is contained in:
mahyargdz
2025-07-14 15:47:22 +03:30
parent 9d46c4f20b
commit 513980fe3a
19 changed files with 788 additions and 9 deletions
@@ -27,7 +27,7 @@ export class QuotaSyncService {
/**
* Sync quota usage every 2 hours
*/
@Cron(CronExpression.EVERY_10_SECONDS)
@Cron(CronExpression.EVERY_2_HOURS)
async syncAllUsersQuota(): Promise<void> {
const em = this.em.fork();
this.logger.log("Starting quota synchronization for all users");
@@ -66,7 +66,7 @@ export class QuotaSyncService {
/**
* Sync business quota usage every 4 hours
*/
@Cron(CronExpression.EVERY_10_SECONDS)
@Cron(CronExpression.EVERY_4_HOURS)
async syncAllBusinessQuotas(): Promise<void> {
const em = this.em.fork();
this.logger.log("Starting business quota synchronization");