Details here: https://github.com/LemmyNet/lemmy/issues/3165

This will VASTLY decrease the server load of I/O for PostgreSQL, as this mistaken code is doing writes of ~1700 rows (each known Lemmy instance in the database) on every single comment & post creation. This creates record-locking issues given it is writes, which are harsh on the system. Once this is fixed, some site operators will be able to downgrade their hardware! ;)

  • Aux@lemmy.world
    link
    fedilink
    arrow-up
    2
    arrow-down
    19
    ·
    1 year ago

    What’s so special about open source? Shit code is shit code.

    • CurseBunny@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      1 year ago

      It’s more to the point that a project of this scale and range in the hands of a small group of people is expected to have some shit code somewhere.