lemmyperformance

Lemmy Server Performance - is this Rust code reading the entire table of all site languages? Does it need to?

in Communities create community/edit community there is a SiteLanguage::read with no site_id, should that call to read have site_id = 1?

For reference, on my production instance my site_language table has 198460 rows and my site table has 1503 rows. Average of 132 languages per site. counts: https://lemmyadmin.bulletintree.com/query/pgcounts?output=table

6
2
Comments 2