This is an opportunity for any users, server admins, or interested third parties to ask anything they’d like to @[email protected] and I about Lemmy. This includes its development and future, as well as wider issues relevant to the social media landscape today.

Note: This will be the thread tmrw, so you can use this thread to ask and vote on questions beforehand.

Original Announcement thread

  • @CMahaff
    link
    English
    3811 months ago

    Maybe I’m completely misremembering things, but at some point wasn’t there a hotfix to Lemmy that hard-limited how many comments a thread could have? Does anyone know if there’s a maximum and if so how many?

    Just wondering, cause uh, I could see this one having a lot of comments.

    • @[email protected]M
      link
      fedilink
      English
      3011 months ago

      The fix you are referring to only limits how many comments can be retrieved in a single API call (300). This limit is only used when specific parameters are passed, not in all cases.

    • DessalinesOPM
      link
      fedilink
      English
      2711 months ago

      Tree-paging is a pretty complicated issue, and we really do need some DB / SQL experts to help us with figuring out how to page them correctly. The limit is 300, but only for the top-level comment fetch, which could also have different slices whether you sort by top, or new, and doesn’t apply to the nested comments, which could have thousands.

      The limit is a kludge, because ppl were creating thousands of comments, and without proper paging, it was affecting performance.