mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-26 05:04:05 -08:00
refactor(core): Disable slow-query log by default (no-changelog) (#7096)
Fixes: https://community.n8n.io/t/stop-logging-full-query-for-execution/29732 [Slack Conversation](https://n8nio.slack.com/archives/C035KBDA917/p1693218994681939)
This commit is contained in:
parent
73e782e2cf
commit
ee36f2d20b
|
@ -56,7 +56,7 @@ export const schema = {
|
||||||
maxQueryExecutionTime: {
|
maxQueryExecutionTime: {
|
||||||
doc: 'Maximum number of milliseconds query should be executed before logger logs a warning. Set 0 to disable long running query warning',
|
doc: 'Maximum number of milliseconds query should be executed before logger logs a warning. Set 0 to disable long running query warning',
|
||||||
format: Number,
|
format: Number,
|
||||||
default: 1000,
|
default: 0, // 0 disables the slow-query log
|
||||||
env: 'DB_LOGGING_MAX_EXECUTION_TIME',
|
env: 'DB_LOGGING_MAX_EXECUTION_TIME',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue