mirror of
https://github.com/plausible/analytics.git
synced 2024-12-23 01:22:15 +03:00
117eef000d
* Bump deps * Bump stack * Fix deprecation warnings * Fix VCR cassettes mismatch due to OTP-18414 Co-authored-by: Adrian Gruntkowski <adrian.gruntkowski@gmail.com> * Format & fix flaky tests * Handle raw IPv4 hostnames; test public suffix TLD * Configure locus db cache_dir So that maxmind unavailability doesn't affect application startup. PERSISTENT_CACHE_DIR env var is used to point locus at the GeoIP DB file. * WIP: Remove ExVCR * Fix test env config * Fixup exvcr * Remove exvcr from deps * Add convert script * Remove exvcr cassettes * Remove convert script * Rename test * Update moduledoc * Update dockerfile * Bump CI cache * Tag more slow tests, why not? * Use charlist for locus cache option * Pin nodejs * Merge google tests, make them async --------- Co-authored-by: Adrian Gruntkowski <adrian.gruntkowski@gmail.com>
31 lines
813 B
Elixir
31 lines
813 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
|