i cannot add more blocked users so i went one by one through that list … starting from the first one i blocked. Not surprisingly, looking at each account, they are either Banned or have No Activity Since ~1 year.

Eventually there could be some site maintenance for [ Banned + Empty ] accounts so to clean our block lists accordingly …

Some other optimization of this type could be made … i believe it would free the server from useless work since the server have to compute removing according to Long Block Lists … this task could be heavy in server work …

What do you think ?

  • @MrKaplan@lemmy.worldM
    link
    fedilink
    English
    58 months ago

    while it would likely be a good idea to limit this, i don’t see a limit in the code that would prevent from blocking more users. what’s the actual error message you’re seeing?

    • @A_A@lemmy.worldOP
      link
      fedilink
      48 months ago

      i didn’t have any error message but even if i clicked repeatedly on “block user”, i did not get the pop up message saying :
      “user_X is blocked”
      … and when checking it, in my block list, (user x) was not added to the block list

      • @MrKaplan@lemmy.worldM
        link
        fedilink
        English
        48 months ago

        there is a possibility that this was caused by a cloudflare rule that was not scoped narrowly enough to achieve what it’s intended for. does this issue still persist for you?

        • @A_A@lemmy.worldOP
          link
          fedilink
          28 months ago

          No. As soon as i started removing entries from that list i could again put more entries (maybe it is a coincidence) in the list.

          • @MrKaplan@lemmy.worldM
            link
            fedilink
            English
            48 months ago

            might still have been related, i guess we’ll never know.

            the rule i changed did look like it had some false positives at least, so even if it wasn’t that it should fix issues that could have been experienced by others randomly.

            • @A_A@lemmy.worldOP
              link
              fedilink
              2
              edit-2
              8 months ago

              Thanks for researching this and thanks for maintaining the instance “Lemmy(dot)World”.

              As for optimization and code improvement … i believe it will come in time as programmers and administrators are able to improve things …

              See you around 👍😁

              P.S. : added [solved] flare to title

    • @A_A@lemmy.worldOP
      link
      fedilink
      1
      edit-2
      8 months ago

      Update :
      it happens again (blocking user fail without message) but this time i see that the user account doesn’t exist when i try to open the user account :
      https://lemmy.world/u/bartlebees

      bad taste post :

      https://lemmy.world/post/25406359

      Maybe this is what happened last time ?

      P.S. : strangely the page for this account doesn’t show the user is banned, but instead shows error message :

      The server returned this error: unknown.

      • @MrKaplan@lemmy.worldM
        link
        fedilink
        English
        28 months ago

        could be that it’s the same thing, in this case it’s the result of a user deleting their account.