Code for people interested app/admin/routes.py#L373 (removed since posting), app/cli.py#L1026

I commented it out, rebuild the Docker containers and it works now 👍

EDIT: People seem to misunderstand what it does. It prevents it from federating automatically when populating the community search, importing from another instance or from Lemmyverse. It’s not a full block, and you can still add it manually. Not only that, but it’s also already partially removed since I posted this.

  • mushroomman_toad@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    7
    arrow-down
    1
    ·
    12 hours ago

    I think Lemmy has some in-memory data structures that limit the backend to a single node, too. Also postgres is great, but Lemmy really fucked up their database performance somehow.

    But yeah large python codebases turn into spaghetti really quickly.

    • [object Object]@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      18 minutes ago

      large python codebases turn into spaghetti really quickly

      I don’t think the language is the problem here. Seeing as Python isn’t somehow severely limited in its expressiveness or organization. Static typing isn’t a cure against spaghetti.

      However, code in that particular file doesn’t inspire any faith in the authors’ organizing skill.

    • orca@orcas.enjoying.yachts
      link
      fedilink
      arrow-up
      1
      ·
      23 minutes ago

      but Lemmy really fucked up their database performance somehow.

      Can confirm. I spent like 4 hours one day configuring auto vacuum and other shit on my Lemmy DB because it was bloating to hell and eating up resources. Runs much smoother now but it was a massive PITA to get there.