summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorHazelnoot <acomputerdog@gmail.com>2025-05-30 08:01:01 -0400
committerHazelnoot <acomputerdog@gmail.com>2025-05-30 08:01:01 -0400
commit7d79c778422cdd39cb47b2a40ada8e6cb4819fb7 (patch)
tree16eb06e97b6f4a778b3ddd3a6a526e611c522dc4 /.config
parentmerge: bring back custom search engine url box - fixes #1078 (!1058) (diff)
downloadsharkey-7d79c778422cdd39cb47b2a40ada8e6cb4819fb7.tar.gz
sharkey-7d79c778422cdd39cb47b2a40ada8e6cb4819fb7.tar.bz2
sharkey-7d79c778422cdd39cb47b2a40ada8e6cb4819fb7.zip
disable TypeORM query cache by default
Diffstat (limited to '.config')
-rw-r--r--.config/ci.yml6
-rw-r--r--.config/cypress-devcontainer.yml6
-rw-r--r--.config/docker_example.yml6
-rw-r--r--.config/example.yml8
4 files changed, 18 insertions, 8 deletions
diff --git a/.config/ci.yml b/.config/ci.yml
index 5657b8beae..7d5261aacd 100644
--- a/.config/ci.yml
+++ b/.config/ci.yml
@@ -115,8 +115,10 @@ db:
user: postgres
pass: ci
- # Whether disable Caching queries
- #disableCache: true
+ # 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:
diff --git a/.config/cypress-devcontainer.yml b/.config/cypress-devcontainer.yml
index ca62616462..51f408983c 100644
--- a/.config/cypress-devcontainer.yml
+++ b/.config/cypress-devcontainer.yml
@@ -57,8 +57,10 @@ db:
user: postgres
pass: postgres
- # Whether disable Caching queries
- #disableCache: true
+ # 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:
diff --git a/.config/docker_example.yml b/.config/docker_example.yml
index df5d77a97f..1b55eee7f5 100644
--- a/.config/docker_example.yml
+++ b/.config/docker_example.yml
@@ -118,8 +118,10 @@ db:
user: example-misskey-user
pass: example-misskey-pass
- # Whether disable Caching queries
- #disableCache: true
+ # 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:
diff --git a/.config/example.yml b/.config/example.yml
index 9e2b6d6da5..b7843da9ad 100644
--- a/.config/example.yml
+++ b/.config/example.yml
@@ -121,8 +121,12 @@ db:
user: sharkey
pass: example-misskey-pass
- # Whether disable Caching queries
- #disableCache: true
+ # 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: