瀏覽代碼

Change log level

chore/benchmark-dedicated-db
Egor Kislitsyn 4 年之前
父節點
當前提交
a37bd5c255
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. +1
    -1
      lib/pleroma/object/fetcher.ex
  2. +1
    -1
      lib/pleroma/web/activity_pub/publisher.ex

+ 1
- 1
lib/pleroma/object/fetcher.ex 查看文件

@@ -154,7 +154,7 @@ defmodule Pleroma.Object.Fetcher do
end

def fetch_and_contain_remote_object_from_id(id) when is_binary(id) do
Logger.info("Fetching object #{id} via AP")
Logger.debug("Fetching object #{id} via AP")

date = Pleroma.Signature.signed_date()



+ 1
- 1
lib/pleroma/web/activity_pub/publisher.ex 查看文件

@@ -47,7 +47,7 @@ defmodule Pleroma.Web.ActivityPub.Publisher do
* `id`: the ActivityStreams URI of the message
"""
def publish_one(%{inbox: inbox, json: json, actor: %User{} = actor, id: id} = params) do
Logger.info("Federating #{id} to #{inbox}")
Logger.debug("Federating #{id} to #{inbox}")
%{host: host, path: path} = URI.parse(inbox)

digest = "SHA-256=" <> (:crypto.hash(:sha256, json) |> Base.encode64())


Loading…
取消
儲存