you are viewing a single comment's thread
view the rest of the comments
[–] 4 points 1 year ago (10 children)

Thanks!

I was able to crash the instance for a few minutes, but I think I have a better idea of where the problem is. Ths $emote_addr variable seems to work just the same.

In the rate limit options there is a limit for ''Message''. Common sense tells me that this means 'direct message', but setting this to a low number is quite bad. While testing I eventually set it to '1 per minute' and the instance became unresponsive until I modified the settings in the database manually. If I give a high number to this setting then I can adjust the other settings without problem.

  • source
  • parent
  • hideshow 10 child comments
  • [+] [S] 0 points 1 year ago (9 children)
  • [–] 4 points 1 year ago (8 children)

    So, ultimately my problem was that I was trying to set all of the limits to what I thought were "reasonable" values simultaneously, and misunderstood what 'Message' meant, and so I ended up breaking things with my changes without the reason being obvious to me. I looked into the source code and I can see now that indeed 'Messages' refer to API calls and not direct messages, and that there is no 'Direct Message' rate limit.

    If I let 'Messages' stay high I can adjust the other values to reasonable values and everything works fine.

    Thanks a lot for your help!! I am surprised and happy it actually worked out and I understand a little more 😁

  • source
  • parent
  • hideshow 8 child comments
  • [–] 1 point 1 year ago (5 children)

    Hi I think I set the messages too low as well and now no.lastname.nz is down, pointers on how to fix with no frontend?

  • source
  • parent
  • hideshow 5 child comments
  • [–] 1 point 1 year ago (2 children)

    Sorry, I went to sleep. Glad you were able to sort it out 😄

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 1 year ago (1 child)

    All good, taught me again not to rely on chatGPT. I even said I needed to find the right BD table and field and it lead me down a rabbit hole of editing config/env files

    Fuck AI

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 1 year ago

    Haha, yeah, trusting ChatGPT with how to manipulate the database and change config files is a risky move 😆 I did use it myself to remind me of the postgresql syntax to find and alter the field.

  • source
  • parent