chore: update user fix
This commit is contained in:
@@ -27,7 +27,7 @@ export class QuotaSyncService {
|
||||
/**
|
||||
* Sync quota usage every 2 hours
|
||||
*/
|
||||
@Cron(CronExpression.EVERY_2_HOURS)
|
||||
@Cron(CronExpression.EVERY_10_SECONDS)
|
||||
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_4_HOURS)
|
||||
@Cron(CronExpression.EVERY_10_SECONDS)
|
||||
async syncAllBusinessQuotas(): Promise<void> {
|
||||
const em = this.em.fork();
|
||||
this.logger.log("Starting business quota synchronization");
|
||||
|
||||
Reference in New Issue
Block a user