summaryrefslogtreecommitdiff
path: root/internal/config/defaults.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2023-02-11 12:48:38 +0100
committerLibravatar GitHub <noreply@github.com>2023-02-11 12:48:38 +0100
commit40bc03e71789523ec0f3cc4ae9f8532430832cd4 (patch)
tree9a2baceffea0b80d1701b636eb19107b96e70fd3 /internal/config/defaults.go
parent[performance] remove throttling timers (#1466) (diff)
downloadgotosocial-40bc03e71789523ec0f3cc4ae9f8532430832cd4.tar.xz
[chore/performance] Update media prune logic, add extra CLI command (#1474)v0.7.0-rc2
* start updating media prune stuff a wee bit * continue prune / uncache work * more tidying + consistency stuff * add prune CLI command * docs * arg
Diffstat (limited to 'internal/config/defaults.go')
-rw-r--r--internal/config/defaults.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/config/defaults.go b/internal/config/defaults.go
index 6b4c5db17..709f063ca 100644
--- a/internal/config/defaults.go
+++ b/internal/config/defaults.go
@@ -161,4 +161,6 @@ var Defaults = Configuration{
UserSweepFreq: time.Second * 10,
},
},
+
+ AdminMediaPruneDryRun: true,
}