From 4c96e2571db177377e6346359ccec7cf1b8299cb Mon Sep 17 00:00:00 2001 From: kim Date: Wed, 7 May 2025 11:59:39 +0000 Subject: [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 Co-committed-by: kim --- internal/config/config_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/config/config_test.go') 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}, ), }, -- cgit v1.2.3