diff --git a/lib/kanta/cache.ex b/lib/kanta/cache.ex index f58d79a..26d5a5d 100644 --- a/lib/kanta/cache.ex +++ b/lib/kanta/cache.ex @@ -5,7 +5,8 @@ defmodule Kanta.Cache do use Nebulex.Cache, otp_app: :kanta, - adapter: Nebulex.Adapters.Local + adapter: Nebulex.Adapters.Partitioned, + primary_storage_adapter: Nebulex.Adapters.Local def generate_cache_key(prefix, params) do Enum.reduce(params, prefix, fn {key, value}, acc ->