Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Fix cache warming not firing. Closes #1889

Gabe Kangas4c68bef15f84
diff --git a/core/data/defaults.go b/core/data/defaults.go
index 7ecf868ade..236c5bdf61 100644
--- a/core/data/defaults.go
+++ b/core/data/defaults.go
@@ -24,6 +24,8 @@ func hasPopulatedFederationDefaults() bool {
// PopulateDefaults will set default values in the database.
func PopulateDefaults() {
+ _datastore.warmCache()
+
defaults := config.GetDefaults()
if HasPopulatedDefaults() {
@@ -48,6 +50,5 @@ func PopulateDefaults() {
},
})
- _datastore.warmCache()
_ = _datastore.SetBool("HAS_POPULATED_DEFAULTS", true)
}