diff options
author | marcin mikołajczak <git@mkljczk.pl> | 2024-02-22 12:03:06 +0100 |
---|---|---|
committer | marcin mikołajczak <git@mkljczk.pl> | 2024-02-22 12:03:06 +0100 |
commit | 05cb931e4d5e312477cc6c4cf80ab10180b84fd1 (patch) | |
tree | 639c8a4939ece54817c89a17fed2638a99802fbc /test/support/cachex_proxy.ex | |
parent | e798be90accbc93e9c7102a51ffd2575c9e617ec (diff) | |
parent | f0468697cd74f4ec062f9c6feda53cfbe9e4500c (diff) | |
download | pleroma-05cb931e4d5e312477cc6c4cf80ab10180b84fd1.tar.gz pleroma-05cb931e4d5e312477cc6c4cf80ab10180b84fd1.zip |
Merge remote-tracking branch 'origin/develop' into post-languages
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
Diffstat (limited to 'test/support/cachex_proxy.ex')
-rw-r--r-- | test/support/cachex_proxy.ex | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/support/cachex_proxy.ex b/test/support/cachex_proxy.ex index 83ae5610f..8f27986a9 100644 --- a/test/support/cachex_proxy.ex +++ b/test/support/cachex_proxy.ex @@ -27,9 +27,15 @@ defmodule Pleroma.CachexProxy do defdelegate fetch!(cache, key, func), to: Cachex @impl true + defdelegate fetch(cache, key, func), to: Cachex + + @impl true defdelegate expire_at(cache, str, num), to: Cachex @impl true + defdelegate expire(cache, str, num), to: Cachex + + @impl true defdelegate exists?(cache, key), to: Cachex @impl true |