refactor(server): rename AppModule to RootModule
This commit is contained in:
		
							parent
							
								
									6bb194de54
								
							
						
					
					
						commit
						d73cc8f9b8
					
				
					 2 changed files with 3 additions and 3 deletions
				
			
		|  | @ -10,4 +10,4 @@ import { QueueProcessorModule } from '@/queue/QueueProcessorModule.js'; | |||
| 		QueueProcessorModule, | ||||
| 	], | ||||
| }) | ||||
| export class AppModule {} | ||||
| export class RootModule {} | ||||
|  | @ -4,13 +4,13 @@ import { envOption } from '@/env.js'; | |||
| import { ChartManagementService } from '@/core/chart/ChartManagementService.js'; | ||||
| import { ServerService } from '@/server/ServerService.js'; | ||||
| import { QueueProcessorService } from '@/queue/QueueProcessorService.js'; | ||||
| import { AppModule } from '../AppModule.js'; | ||||
| import { RootModule } from '../RootModule.js'; | ||||
| 
 | ||||
| /** | ||||
|  * Init worker process | ||||
|  */ | ||||
| export async function workerMain() { | ||||
| 	const app = await NestFactory.createApplicationContext(AppModule); | ||||
| 	const app = await NestFactory.createApplicationContext(RootModule); | ||||
| 	app.enableShutdownHooks(); | ||||
| 
 | ||||
| 	// start server
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue