diff options
author | 2023-01-10 15:19:05 +0100 | |
---|---|---|
committer | 2023-01-10 14:19:05 +0000 | |
commit | d6487933c758be647bff7a568d6a33e6155e6599 (patch) | |
tree | fbc2d466dc2d0833a7ceec1200643e78dae4f916 /internal/config/defaults.go | |
parent | [chore] Bump json5 from 1.0.1 to 1.0.2 in /web/source (#1308) (diff) | |
download | gotosocial-d6487933c758be647bff7a568d6a33e6155e6599.tar.xz |
[feature] Implement Report database model and utility functions (#1310)
* implement report database model
* implement report cache + config changes
* implement report database functions
* report uri / regex functions
* update envparsing test
* remove unnecessary uri index
* remove unused function + cache lookup
* process error when storing report
Diffstat (limited to 'internal/config/defaults.go')
-rw-r--r-- | internal/config/defaults.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/config/defaults.go b/internal/config/defaults.go index 26fecaa73..4d61bec05 100644 --- a/internal/config/defaults.go +++ b/internal/config/defaults.go @@ -138,6 +138,10 @@ var Defaults = Configuration{ NotificationTTL: time.Minute * 5, NotificationSweepFreq: time.Second * 10, + ReportMaxSize: 100, + ReportTTL: time.Minute * 5, + ReportSweepFreq: time.Second * 10, + StatusMaxSize: 500, StatusTTL: time.Minute * 5, StatusSweepFreq: time.Second * 10, |