1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-06-27 16:36:00 +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 Implement structured logging using log/slog package 2023-09-24 22:37:33 -07:00
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 Implement structured logging using log/slog package 2023-09-24 22:37:33 -07:00
export_feeds.go Add command line argument to export user feeds 2023-09-27 21:45:23 -07:00
flush_sessions.go Implement structured logging using log/slog package 2023-09-24 22:37:33 -07:00
health_check.go Implement structured logging using log/slog package 2023-09-24 22:37:33 -07:00
info.go Move internal packages to an internal folder 2023-08-10 20:29:34 -07:00
logger.go Implement structured logging using log/slog package 2023-09-24 22:37:33 -07:00
refresh_feeds.go Use modern for loops 2024-02-28 19:55:28 -08:00
reset_password.go Implement structured logging using log/slog package 2023-09-24 22:37:33 -07:00
scheduler.go log nb_jobs only when number of jobs is larger than 0 in scheduler. 2023-12-03 14:57:20 -08:00