Skip to content

Commit

Permalink
Minor cleanup and comment updates
Browse files Browse the repository at this point in the history
  • Loading branch information
whitfin committed Aug 25, 2024
1 parent f66a6fa commit e49abda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
6 changes: 2 additions & 4 deletions lib/cachex/services/conductor.ex
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,9 @@ defmodule Cachex.Services.Conductor do
do: {:ok, module.nodes(state)}

@doc """
Executes a previously dispatched action.
This macro should not be called externally; the only reason it remains
public is due to the code injected by the `dispatch/2` macro.
Executes a previously dispatched action..
"""
# The first match short circuits local-only caches
@spec route(Cachex.Spec.cache(), atom, {atom, [any]}) :: any
def route(cache(router: router(module: Router.Local)) = cache, module, call),
do: route_local(cache, module, call)
Expand Down
1 change: 0 additions & 1 deletion lib/cachex/spec.ex
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ defmodule Cachex.Spec do
"""
defrecord :cache,
name: nil,
cluster: nil,
commands: %{},
compressed: false,
expiration: nil,
Expand Down

0 comments on commit e49abda

Please sign in to comment.