mirror of
https://git.boykissers.com/pawkey/pawkey-sk.git
synced 2025-12-20 04:04:16 +00:00
add slowQueryThreshold setting to configure slow query warning
This commit is contained in:
@@ -57,6 +57,10 @@ db:
|
||||
user: postgres
|
||||
pass: postgres
|
||||
|
||||
# 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.
|
||||
|
||||
Reference in New Issue
Block a user