You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am using latest version of exposed and I was getting following
warning WARN 70808 --- [pool-2-thread-1] Exposed : Long query: [2113ms] .
I am OK with my query taking more than 2 seconds to execute. But it looks like this is hard coded in Transaction.kt in variable warnLongQueriesDuration and I get exception. Can you make this configurable or is there any other way around.
Thanks
The text was updated successfully, but these errors were encountered:
I've made warnLongQueriesDuration an optional, so you have to initialize it implicit if you want to use that kind of a warning.
Before that change will be released you can set this variable to some large value within your transaction{ } block to prevent a warning.
Hi, I am using latest version of exposed and I was getting following
warning WARN 70808 --- [pool-2-thread-1] Exposed : Long query: [2113ms] .
I am OK with my query taking more than 2 seconds to execute. But it looks like this is hard coded in Transaction.kt in variable warnLongQueriesDuration and I get exception. Can you make this configurable or is there any other way around.
Thanks
The text was updated successfully, but these errors were encountered: