Query SET client_min_messages = warning; SET TIME ZONE INTERVAL %s HOUR TO MINUTE
running sequentially even when no new connection is opened with the DB
#16716
Unanswered
batflarrow
asked this question in
Help & Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the DB logs I can see the query
SET client_min_messages = warning; SET TIME ZONE INTERVAL %s HOUR TO MINUTE
being run multiple times. From the code I can see that this query is added every time a new connection is being established with the DB. But from the logs I can see that sometimes these queries are being run sequentially one after the other, and are not paired with some other query. Does this query have any impact on the performance, and should I disable this query completely?I'm using sequelize version
6.29.0
, along with @nestjs/sequelize with version8.0.0
.Example logs -
Beta Was this translation helpful? Give feedback.
All reactions