Skip to content

Commit

Permalink
Minor documentation sanitization
Browse files Browse the repository at this point in the history
  • Loading branch information
whitfin committed Oct 7, 2024
1 parent add6ccc commit 6965c8e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docs/migrations/migrating-to-v4.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ Cachex.start_link(:my_cache, [
])
```

Both of these features have had additional documentation written, so you can double check the relevant documentation in [Gathering Stats](../management/stats-gathering.md) and [Limiting Caches](../management/limiting-caches.md) as necessary. Limits in particular have had quite a shakeup in Cachex v4, so it's definitely worth a visit to the documentation if you're using those!

In addition, the `:state` option when registering a hook has been renamed `:args` as per the example above.
Both of these features have had additional documentation written, so you can double check the relevant documentation in [Gathering Stats](../management/stats-gathering.md) and [Limiting Caches](../management/limiting-caches.md) as necessary. Limits in particular have had quite a shakeup in Cachex v4, so it's definitely worth a visit to the documentation if you're using those! Please also note that the `:state` option inside hooks has been renamed to `:args` as shown above.

The `:nodes` option has also been removed, in favour of the new approach to routing in a distributed cache. It's possible to keep the same semantics as Cachex v3 using the `Cachex.Router.Jump` module implementation:

Expand Down

0 comments on commit 6965c8e

Please sign in to comment.