chore: change the quota sync to the queue
This commit is contained in:
@@ -5,7 +5,6 @@ import { CacheModule } from "@nestjs/cache-manager";
|
||||
import { MiddlewareConsumer, Module, NestModule } from "@nestjs/common";
|
||||
import { ConfigModule } from "@nestjs/config";
|
||||
import { JwtModule } from "@nestjs/jwt";
|
||||
import { ScheduleModule } from "@nestjs/schedule";
|
||||
import { ThrottlerModule } from "@nestjs/throttler";
|
||||
|
||||
import { bullMqConfig } from "./configs/bullmq.config";
|
||||
@@ -30,7 +29,6 @@ import { UtilsModule } from "./modules/utils/utils.module";
|
||||
imports: [
|
||||
ConfigModule.forRoot({ isGlobal: true, cache: true }),
|
||||
JwtModule.registerAsync(jwtConfig()),
|
||||
ScheduleModule.forRoot(),
|
||||
BullModule.forRootAsync(bullMqConfig()),
|
||||
CacheModule.registerAsync(cacheConfig()),
|
||||
HttpModule.registerAsync(httpConfig()),
|
||||
|
||||
Reference in New Issue
Block a user