vonbraun/config/config.exs

27 lines
695 B
Elixir

import Config
config :vonbraun, Vonbraun.Cache,
# When using :shards as backend
# backend: :shards,
# GC interval for pushing new generation: 12 hrs
gc_interval: :timer.hours(12),
# Max 1 million entries in cache
max_size: 1_000_000,
# Max 2 GB of memory
allocated_memory: 2_000_000_000,
# GC min timeout: 10 sec
gc_cleanup_min_timeout: :timer.seconds(10),
# GC max timeout: 10 min
gc_cleanup_max_timeout: :timer.minutes(10)
# config :vonbraun,
# json_ld: %{
# "https://www.w3.org/ns/activitystreams" =>
# File.read!(Path.join(Path.dirname(__DIR__), "priv/jsonld/activitystreams.json"))
# }
config :vonbraun,
json_ld: %{}
import_config "#{Mix.env()}.exs"