34 lines
1.2 KiB
Diff
34 lines
1.2 KiB
Diff
From 76704cd91868705842cc908c5c0cfdf4106cc418 Mon Sep 17 00:00:00 2001
|
|
From: Oneric <oneric@oneric.stub>
|
|
Date: Wed, 11 Dec 2024 03:41:33 +0100
|
|
Subject: [PATCH 3/4] nodeinfo: lower log level of regular actions to debug
|
|
|
|
---
|
|
lib/pleroma/instances/instance.ex | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/lib/pleroma/instances/instance.ex b/lib/pleroma/instances/instance.ex
|
|
index 63362eb28..105556900 100644
|
|
--- a/lib/pleroma/instances/instance.ex
|
|
+++ b/lib/pleroma/instances/instance.ex
|
|
@@ -188,7 +188,7 @@ def update_metadata(%URI{host: host} = uri) do
|
|
defp do_update_metadata(%URI{host: host} = uri, existing_record) do
|
|
if existing_record do
|
|
if needs_update(existing_record) do
|
|
- Logger.info("Updating metadata for #{host}")
|
|
+ Logger.debug("Updating metadata for #{host}")
|
|
favicon = scrape_favicon(uri)
|
|
nodeinfo = scrape_nodeinfo(uri)
|
|
|
|
@@ -207,7 +207,7 @@ defp do_update_metadata(%URI{host: host} = uri, existing_record) do
|
|
favicon = scrape_favicon(uri)
|
|
nodeinfo = scrape_nodeinfo(uri)
|
|
|
|
- Logger.info("Creating metadata for #{host}")
|
|
+ Logger.debug("Creating metadata for #{host}")
|
|
|
|
%Instance{}
|
|
|> changeset(%{
|
|
--
|
|
2.47.1
|
|
|