object: split object_cache from user_cache
This commit is contained in:
parent
2c092ed355
commit
2b3a40d038
3 changed files with 26 additions and 10 deletions
|
|
@ -42,7 +42,7 @@ defmodule Pleroma.ObjectTest do
|
|||
|
||||
Object.delete(cached_object)
|
||||
|
||||
{:ok, nil} = Cachex.get(:user_cache, "object:#{object.data["id"]}")
|
||||
{:ok, nil} = Cachex.get(:object_cache, "object:#{object.data["id"]}")
|
||||
|
||||
cached_object = Object.get_cached_by_ap_id(object.data["id"])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue