gotosocial/internal/config
kim 815b5291e0
[bugfix] fix inconsistent calculated cache sizes (#2115)
* use calculated exampleTime instead of `time.Now()` to ensure no locale data, retweak cache ratios

* update envparsing test

* update default cache memory to 100MiB

* fix envparsing with latest cache target default

---------

Signed-off-by: kim <grufwub@gmail.com>
2023-08-14 17:08:19 +01:00
..
gen [feature] Use Read/Write lock for config (#1969) 2023-07-10 12:56:14 +01:00
testdata [feature] Add a request ID and include it in logs (#1476) 2023-02-17 12:02:29 +01:00
config.go [performance] remove last of relational queries to instead rely on caches (#2091) 2023-08-10 15:08:41 +01:00
config_test.go [feature] support configuring database caches (#1246) 2022-12-11 13:03:15 +00:00
defaults.go [bugfix] fix inconsistent calculated cache sizes (#2115) 2023-08-14 17:08:19 +01:00
flags.go [feature] Allow users to skip http client tls verification for testing purposes (with appropriately loud warnings) (#2052) 2023-08-01 18:50:17 +01:00
global.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
helpers.gen.go [performance] remove last of relational queries to instead rely on caches (#2091) 2023-08-10 15:08:41 +01:00
state.go [feature] Use Read/Write lock for config (#1969) 2023-07-10 12:56:14 +01:00
util.go [feature] enable + document explicit IP dialer allowing/denying (#1950) 2023-07-07 16:17:39 +02:00
validate.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
validate_test.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00