This is an opportunity for any users, server admins, or interested third parties to ask anything they’d like to @nutomic@lemmy.ml 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@lemmy.world
    link
    fedilink
    English
    arrow-up
    42
    arrow-down
    1
    ·
    11 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.

    • nutomic@lemmy.mlM
      link
      fedilink
      English
      arrow-up
      34
      ·
      11 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.

    • Dessalines@lemmy.mlOPM
      link
      fedilink
      English
      arrow-up
      31
      ·
      11 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.