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:
कारतोफ्फेलस्क्रिप्ट™ 2023-09-04 17:59:08 +02:00 committed by GitHub
parent 73e782e2cf
commit ee36f2d20b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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',
}, },
}, },