mirror of
https://github.com/warmbly/warmbly.git
synced 2026-09-11 16:08:09 +00:00
24 lines
704 B
Elixir
24 lines
704 B
Elixir
import Config
|
|
|
|
# Test configuration
|
|
config :realtime, RealtimeWeb.Endpoint,
|
|
http: [ip: {127, 0, 0, 1}, port: 4002],
|
|
secret_key_base: "test_secret_key_base_for_testing_purposes_only_1234567890123456",
|
|
server: false
|
|
|
|
config :realtime,
|
|
jwt_secret: "test_jwt_secret",
|
|
pubsub_enabled: false,
|
|
# Count rate-limit hits in memory: the suite must run with no Redis.
|
|
rate_limit_counter: Realtime.Test.Counter
|
|
|
|
# No database in the test env: these tests build sockets directly and never
|
|
# reach Auth. One connection keeps the unreachable-Postgres retry noise to a
|
|
# single line instead of five.
|
|
config :realtime, Realtime.Repo, pool_size: 1
|
|
|
|
config :logger, level: :warning
|
|
|
|
config :sentry,
|
|
dsn: nil
|