Is there a way to remove the max 10 posts per 600 seconds limit, maybe per user?

  • phelix001OP
    link
    fedilink
    arrow-up
    1
    ·
    4 years ago

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

    • DessalinesMA
      link
      fedilink
      arrow-up
      2
      ·
      4 years ago

      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.

          • phelix001OP
            link
            fedilink
            arrow-up
            1
            ·
            4 years ago

            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”}

            • DessalinesMA
              link
              fedilink
              arrow-up
              1
              ·
              4 years ago

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

              • phelix001OP
                link
                fedilink
                arrow-up
                1
                ·
                4 years ago

                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”}

                • DessalinesMA
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  4 years ago

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