summaryrefslogtreecommitdiff
path: root/internal/config/defaults.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/config/defaults.go')
-rw-r--r--internal/config/defaults.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/internal/config/defaults.go b/internal/config/defaults.go
index a4996e5c6..a1b4ec211 100644
--- a/internal/config/defaults.go
+++ b/internal/config/defaults.go
@@ -157,6 +157,18 @@ var Defaults = Configuration{
},
Cache: CacheConfiguration{
+ // We purposely leave this unset as
+ // guesstimating the number of media
+ // objects a server may have cached
+ // is quite difficult.
+ //
+ // And for example, on my extremely
+ // well federated single user instance
+ // I (kim) have over 2.5M media objects
+ // alone in storage. We'll leave this
+ // to those on metered S3 to tweak.
+ S3ObjectInfo: 0,
+
// Rough memory target that the total
// size of all State.Caches will attempt
// to remain with. Emphasis on *rough*.