• sexy_peach@feddit.de
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    I think the “x users online” thing in lemmy is bugged as hell. It’s never correct for feddit.de, mostly waaaaaay higher than could be correct.

    • nutomic@lemmy.ml
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      Its the number of open websocket connections, so it also counts users who are not logged in or individual tabs which are opened by the same user.

      • sexy_peach@feddit.de
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 year ago

        Ah, interesting, thanks. How long does such a websocket connection last, if a user leaves the website?

        • nutomic@lemmy.ml
          link
          fedilink
          English
          arrow-up
          0
          ·
          1 year ago

          I think it should be closed immediately, at least in theory. Anyway we are going to remove websocket in the next major version, then that counter will probably also be gone.