add slowQueryThreshold setting to configure slow query warning
This commit is contained in:
parent
5d8a8bba2a
commit
b057d3be0d
6 changed files with 25 additions and 5 deletions
|
|
@ -121,13 +121,15 @@ db:
|
|||
user: sharkey
|
||||
pass: example-misskey-pass
|
||||
|
||||
# Log a warning to the server console if any query takes longer than this to complete.
|
||||
# Measured in milliseconds; set to 0 to disable. (default: 300)
|
||||
slowQueryThreshold: 300
|
||||
|
||||
# If false, then query results will be cached in redis.
|
||||
# If true (default), then queries will not be cached.
|
||||
# This will reduce database load at the cost of increased Redis traffic and risk of bugs and unpredictable behavior.
|
||||
#disableCache: false
|
||||
|
||||
#
|
||||
|
||||
# Extra Connection options
|
||||
#extra:
|
||||
# ssl: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue