Will NextAuth + TypeORM + Sync = true run the syncronization on every session request? #4596
Unanswered
gtoshinakano
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello guys,
I know that it is not recommended to leave sync=true in production mode but, if I deploy NextAuth+MySQL TypeORM adapter on Vercel with synchronization = true, will it run every time some user calls the
api/auth/[...nextauth].js
file? Or will it cache in some way? Or will it be called once when the first user accesses a session?Beta Was this translation helpful? Give feedback.
All reactions