mirror of
https://github.com/docmost/docmost.git
synced 2025-11-14 13:21:09 +10:00
Implement BullMQ for background job processing
* new REDIS_URL environment variable
This commit is contained in:
@ -11,6 +11,7 @@ import { DatabaseModule } from '@docmost/db/database.module';
|
||||
import * as fs from 'fs';
|
||||
import { StorageModule } from './integrations/storage/storage.module';
|
||||
import { MailModule } from './integrations/mail/mail.module';
|
||||
import { QueueModule } from './integrations/queue/queue.module';
|
||||
|
||||
const clientDistPath = join(__dirname, '..', '..', 'client/dist');
|
||||
|
||||
@ -32,6 +33,7 @@ function getServeStaticModule() {
|
||||
EnvironmentModule,
|
||||
CollaborationModule,
|
||||
WsModule,
|
||||
QueueModule,
|
||||
...getServeStaticModule(),
|
||||
StorageModule.forRootAsync({
|
||||
imports: [EnvironmentModule],
|
||||
|
||||
Reference in New Issue
Block a user