Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Move fun_with_flags config from runtime.exs to config.exs

Uku Tahte373799b0108
diff --git a/config/config.exs b/config/config.exs
index 055bfc543a..369b11b00b 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -28,6 +28,12 @@ config :plausible,
session_timeout: 1000 * 60 * 30,
session_length_minutes: 30
+config :fun_with_flags, :cache_bust_notifications, enabled: false
+
+config :fun_with_flags, :persistence,
+ adapter: FunWithFlags.Store.Persistent.Ecto,
+ repo: Plausible.Repo
+
config :plausible, Plausible.ClickhouseRepo, loggers: [Ecto.LogEntry]
config :plausible, Plausible.Repo,
diff --git a/config/runtime.exs b/config/runtime.exs
index 0730f78616..cf27a6b5a8 100644
--- a/config/runtime.exs
+++ b/config/runtime.exs
@@ -212,12 +212,6 @@ else
database: get_var_from_path_or_env(config_dir, "DATABASE_NAME", "plausible")
end
-config :fun_with_flags, :cache_bust_notifications, enabled: false
-
-config :fun_with_flags, :persistence,
- adapter: FunWithFlags.Store.Persistent.Ecto,
- repo: Plausible.Repo
-
included_environments = if sentry_dsn, do: ["prod", "staging", "dev"], else: []
config :sentry,