Skip to content

Commit

Permalink
Update cache.ex
Browse files Browse the repository at this point in the history
  • Loading branch information
kubosuke committed Sep 4, 2024
1 parent d3576aa commit 15b43a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/kanta/cache.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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 ->
Expand Down

0 comments on commit 15b43a5

Please # to comment.