summaryrefslogtreecommitdiff
path: root/.config/example.yml
diff options
context:
space:
mode:
Diffstat (limited to '.config/example.yml')
-rw-r--r--.config/example.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.config/example.yml b/.config/example.yml
index b7843da9ad..7d9b6ceda6 100644
--- a/.config/example.yml
+++ b/.config/example.yml
@@ -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