From: Zachary Dunn Date: Mon, 18 Mar 2019 14:53:30 +0000 (+0000) Subject: Run X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=e572786dad231a954c87ce54bb63e9be7fb396e9;p=akkoma Run --- diff --git a/lib/pleroma/user.ex b/lib/pleroma/user.ex index dcc03ae95..a29f836be 100644 --- a/lib/pleroma/user.ex +++ b/lib/pleroma/user.ex @@ -492,6 +492,7 @@ defmodule Pleroma.User do def get_cached_by_nickname(nickname) do key = "nickname:#{nickname}" + Cachex.fetch!(:user_cache, key, fn -> user_result = get_or_fetch_by_nickname(nickname)