object: split object_cache from user_cache

This commit is contained in:
William Pitcock 2018-11-01 08:30:10 +00:00
commit 2b3a40d038
3 changed files with 26 additions and 10 deletions

View file

@ -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"])