summaryrefslogtreecommitdiff
path: root/internal/config/defaults.go
diff options
context:
space:
mode:
authorLibravatar kim <grufwub@gmail.com>2025-09-17 14:16:53 +0200
committerLibravatar kim <gruf@noreply.codeberg.org>2025-09-17 14:16:53 +0200
commit6801ce299a3a0016bae08ee8f64602aeb0274659 (patch)
treeee7d1d15e05794b2f0383d076dd7c51fafc70dad /internal/config/defaults.go
parent[bugfix/frontend] Use correct account domain in move account helper (#4440) (diff)
downloadgotosocial-6801ce299a3a0016bae08ee8f64602aeb0274659.tar.xz
[chore] remove nollamas middleware for now (after discussions with a security advisor) (#4433)
i'll keep this on a separate branch for now while i experiment with other possible alternatives, but for now both our hacky implementation especially, and more popular ones (like anubis) aren't looking too great on the deterrent front: https://github.com/eternal-flame-AD/pow-buster Co-authored-by: tobi <tobi.smethurst@protonmail.com> Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4433 Co-authored-by: kim <grufwub@gmail.com> Co-committed-by: kim <grufwub@gmail.com>
Diffstat (limited to 'internal/config/defaults.go')
-rw-r--r--internal/config/defaults.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/internal/config/defaults.go b/internal/config/defaults.go
index f140d7877..e3e3c559c 100644
--- a/internal/config/defaults.go
+++ b/internal/config/defaults.go
@@ -154,11 +154,6 @@ var Defaults = Configuration{
Multiplier: 8, // 8 open requests per CPU
RetryAfter: 30 * time.Second,
},
-
- ScraperDeterrence: ScraperDeterrenceConfig{
- Enabled: false,
- Difficulty: 100000,
- },
},
Cache: CacheConfiguration{