summaryrefslogtreecommitdiff
path: root/.config/docker_example.yml
diff options
context:
space:
mode:
Diffstat (limited to '.config/docker_example.yml')
-rw-r--r--.config/docker_example.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/docker_example.yml b/.config/docker_example.yml
index 1b55eee7f5..051526024e 100644
--- a/.config/docker_example.yml
+++ b/.config/docker_example.yml
@@ -118,6 +118,10 @@ db:
user: example-misskey-user
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.