mirror of
https://github.com/rommapp/romm.git
synced 2026-02-18 00:27:41 +01:00
misc: Move cache initialization to startup script
Guarantee that cache is initialized during startup, and only once, instead of every time a `MetadataHandler` object is instantiated. Also, improve logic to determine `fixtures` paths.
This commit is contained in:
@@ -284,6 +284,7 @@ else
|
||||
error_log "Failed to run database migrations"
|
||||
fi
|
||||
|
||||
# Startup process requires database and cache to be already available
|
||||
run_startup
|
||||
|
||||
# main loop
|
||||
|
||||
Reference in New Issue
Block a user