Files
kim c40dbf0fb8 [performance] don't block on media load on API endpoints to improve latency (#4756)
Undoes my own recent change that blocks on media loading for timeline endpoints, to improve latency (which definitely had a bit of a regression after v0.21.0). Replaces the existing code that blocks on media loading in the surfacer with a more optimized check that reduces mutex locks and shouldn't lead to any accidental double loads.

Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4756
Co-authored-by: kim <grufwub@gmail.com>
Co-committed-by: kim <grufwub@gmail.com>
2026-03-14 19:31:02 +01:00
..