• sexy_peach@feddit.de
    link
    fedilink
    English
    arrow-up
    6
    ·
    2 years 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
      8
      ·
      2 years 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
        3
        ·
        2 years 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
          6
          ·
          2 years 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.