mirror of
https://github.com/plausible/analytics.git
synced 2024-12-25 02:24:55 +03:00
32456d4348
* Bump asdf erlang & elixir * Bump erlang/elixir in the dockerfile * Remove Oban.Stager config as per https://github.com/sorentwo/oban/blob/main/guides/upgrading/v2.14.md * Configure Oban for tests as per https://github.com/sorentwo/oban/blob/main/guides/upgrading/v2.14.md * Mark sampling hint clause with unsafe fragment Any other/recommended way to do that? cc @ruslandoga * Address String.slice/2 deprecation * Update deps * Address 0.0 matching warning * Make funnel settings work although this is probably not the best way to do it. Needs revisiting, not sure what broke it - could not find any breaking changes in related dependencies. * Migrate oban as per https://github.com/sorentwo/oban/blob/main/guides/upgrading/v2.17.md * Update credo * Bump CI cache * Use `Bypass.pass` to avoid exit shutdown message
33 lines
856 B
Elixir
33 lines
856 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,
|
|
sites_by_domain_cache_enabled: false
|
|
|
|
config :ex_money, api_module: Plausible.ExchangeRateMock
|
|
|
|
config :plausible, Plausible.Ingestion.Counters, enabled: false
|
|
|
|
config :plausible, Oban, testing: :manual
|