-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Description
I can reproduce it on a new project, If I add TypeORM according to the Readme file to my project, my app start normally in about 4sec (prod mode).
But if somewhere in my app I use an entity created for typeORM (without creating database connection and without inserting it, just a new), like :
let user = new TestUser();
I noticed that my app take 2 seconds more to start even if my new is never called nowhere... Is it possible to do this job in background and not at startup, because I don't really need TypeORM at startup.
Do you know why does it slow down the app startup ?
I can give you a step to reproduce if you tell me it's abnormal.
mgreg89
Metadata
Metadata
Assignees
Labels
No labels