Dessalines
mod
admin
25M

Yes there is: https://github.com/LemmyNet/lemmy/blob/main/config/defaults.hjson#L45

You just set that block to the rates you want in you lemmy.hjson

@phelix001
creator
15M

Thanks! Really stupid question, do I do that on the server or on the client that uses ansible to update the server?

Dessalines
mod
admin
25M

No probs :smiling face: , you need to change it on the server manually, because the config.hjson only gets copied during the initial ansible setup. So on the server goto /lemmy/lemmy.hjson and add that block.

@phelix001
creator
15M

Word. Thanks!

Dessalines
mod
admin
25M

no probs.

@phelix001
creator
15M

Is rebooting sufficient to load the new settings? Or should I run a command or something? I still get a 600 second limit

Response of Creating Post: <Response [500]> {“error”:“Too many requests. type: Post, IP: myip, 6 per 600 seconds”}

Dessalines
mod
admin
15M

sudo docker-compose restart should be enough, after you’ve added the rate limit block to lemmy.hjson.

@phelix001
creator
15M

Is this response hardcoded in or is it supposed to be using the new settings I setup? {“error”:“Too many requests. type: Post, IP: ap ip address, 6 per 600 seconds”}

Dessalines
mod
admin
15M

Nope, they’re not hardcoded. Give me the lemmy.hjson on your server.

Support / questions about Lemmy.
!lemmy_support

    Feel free to ask me anything here.

    • 0 users online
    • 1 user / day
    • 9 users / week
    • 18 users / month
    • 92 users / 6 months
    • 405 subscribers
    • 251 Posts
    • 1394 Comments
    • Modlog