mirror of
https://github.com/immich-app/immich.git
synced 2026-09-30 13:23:21 +08:00
perf(server): compile zod schemas on first parse
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import 'zod/compile';
|
||||
import { NestFactory } from '@nestjs/core';
|
||||
import { NestExpressApplication } from '@nestjs/platform-express';
|
||||
import { configureExpress, configureTelemetry } from 'src/app.common.js';
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import 'zod/compile';
|
||||
import { NestFactory } from '@nestjs/core';
|
||||
import { NestExpressApplication } from '@nestjs/platform-express';
|
||||
import { configureExpress, configureTelemetry } from 'src/app.common.js';
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import 'zod/compile';
|
||||
import { NestFactory } from '@nestjs/core';
|
||||
import { isMainThread } from 'node:worker_threads';
|
||||
import { MicroservicesModule } from 'src/app.module.js';
|
||||
|
||||
Reference in New Issue
Block a user