import {Module} from "@nestjs/common";
import {XTiktokDownloadService} from "./x-tiktok.download.service";
import {BullModule} from "@nestjs/bullmq";
import {VideoDownloadProcessor} from "./video.download.processor";

@Module({
    imports:[
        BullModule.registerQueue(
            {name: 'download_video_queue'},// Hàng đợi cho AI-C
        ),
    ],
    providers: [XTiktokDownloadService, VideoDownloadProcessor],
    exports: [XTiktokDownloadService],
})
export class TiktokDownloadModule {}
