diff options
| author | 2025-05-07 11:59:39 +0000 | |
|---|---|---|
| committer | 2025-05-07 11:59:39 +0000 | |
| commit | 4c96e2571db177377e6346359ccec7cf1b8299cb (patch) | |
| tree | 1f3a9259a4a9491b1efb392265c508295917e94a /internal/config/config_test.go | |
| parent | [bugfix] Fix indentation on multi-line alt text in web view (#4149) (diff) | |
| download | gotosocial-4c96e2571db177377e6346359ccec7cf1b8299cb.tar.xz | |
[feature] make nollamas difficulty configurable (#4119)
Makes the NoLLaMas proof-of-work scraper deterrence difficulty configurable.
Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4119
Co-authored-by: kim <grufwub@gmail.com>
Co-committed-by: kim <grufwub@gmail.com>
Diffstat (limited to 'internal/config/config_test.go')
| -rw-r--r-- | internal/config/config_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/config/config_test.go b/internal/config/config_test.go index 48a138aa8..4e920700e 100644 --- a/internal/config/config_test.go +++ b/internal/config/config_test.go @@ -175,7 +175,7 @@ func TestCLIParsing(t *testing.T) { "--config-path", "testdata/test3.yaml", }, expected: expectedKV( - kv.Field{"advanced-scraper-deterrence", true}, + kv.Field{"advanced-scraper-deterrence-enabled", true}, kv.Field{"advanced-rate-limit-requests", 5000}, ), }, |
