Merge branch 'recipients-query-speedup' into 'develop'
Greatly speed up recipients query See merge request pleroma/pleroma!2558
This commit is contained in:
parent
eabf9317b5
commit
ada9d15eee
4 changed files with 20 additions and 17 deletions
|
|
@ -560,6 +560,7 @@ defmodule Pleroma.UserTest do
|
|||
assert user == fetched_user
|
||||
end
|
||||
|
||||
@tag capture_log: true
|
||||
test "returns nil if no user could be fetched" do
|
||||
{:error, fetched_user} = User.get_or_fetch_by_nickname("nonexistant@social.heldscal.la")
|
||||
assert fetched_user == "not found nonexistant@social.heldscal.la"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue