mirror of
https://github.com/plausible/analytics.git
synced 2024-11-23 11:12:15 +03:00
931161f693
* Simplify caches config The intervals were proven to never change really, and previous shape made them not very discoverable either. We'll look into a more declarative setup. * Aim for more declarative supervision tree setup * Generalize `Plausible.Cache` This makes the `Site.Cache` module implement the specifics, leaving the common bits reusable for upcoming cache processes. * Generalize `Plausible.Cache` warmers * Fix typos
34 lines
868 B
Elixir
34 lines
868 B
Elixir
import Config
|
|
|
|
# We don't run a server during test. If one is required,
|
|
# you can enable the server option below.
|
|
config :plausible, PlausibleWeb.Endpoint, server: false
|
|
|
|
config :bcrypt_elixir, :log_rounds, 4
|
|
|
|
config :plausible, Plausible.Repo, pool: Ecto.Adapters.SQL.Sandbox
|
|
|
|
config :plausible, Plausible.ClickhouseRepo,
|
|
loggers: [Ecto.LogEntry],
|
|
pool_size: 5
|
|
|
|
config :plausible, Plausible.Mailer, adapter: Bamboo.TestAdapter
|
|
|
|
config :plausible,
|
|
paddle_api: Plausible.PaddleApi.Mock,
|
|
google_api: Plausible.Google.Api.Mock
|
|
|
|
config :bamboo, :refute_timeout, 10
|
|
|
|
config :plausible,
|
|
session_timeout: 0,
|
|
http_impl: Plausible.HTTPClient.Mock
|
|
|
|
config :plausible, Plausible.Cache, enabled: false
|
|
|
|
config :ex_money, api_module: Plausible.ExchangeRateMock
|
|
|
|
config :plausible, Plausible.Ingestion.Counters, enabled: false
|
|
|
|
config :plausible, Oban, testing: :manual
|