1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-11 17:51:01 +00:00
miniflux-v2/internal/cli
Julien Voisin eed3fcf92a
refactor(locale): delay parsing of translations until they're used
While doing some profiling for #2900, I noticed that
`miniflux.app/v2/internal/locale.LoadCatalogMessages` is responsible for more
than 10% of the consumed memory. As most miniflux instances won't have enough
diverse users to use all the available translations at the same time, it
makes sense to load them on demand.

The overhead is a single function call and a check in a map, per call to
translation-related functions.
2024-12-09 17:05:14 -08:00
..
ask_credentials.go cli: avoid misleading error message when creating an admin user 2024-03-23 14:32:55 -07:00
cleanup_tasks.go
cli.go refactor(locale): delay parsing of translations until they're used 2024-12-09 17:05:14 -08:00
create_admin.go cli: avoid misleading error message when creating an admin user 2024-03-23 14:32:55 -07:00
daemon.go
export_feeds.go
flush_sessions.go
health_check.go
info.go
logger.go
refresh_feeds.go Use modern for loops 2024-02-28 19:55:28 -08:00
reset_password.go
scheduler.go