From a7fce91e0cb48963935c135e096251362283c31d Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 31 May 2024 02:23:55 -0600 Subject: [PATCH 1/2] Update FetchNodeinfoPipeline, set last_fetched_at timestamp --- app/Jobs/InstancePipeline/FetchNodeinfoPipeline.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Jobs/InstancePipeline/FetchNodeinfoPipeline.php b/app/Jobs/InstancePipeline/FetchNodeinfoPipeline.php index 943281bb4..38127b2aa 100644 --- a/app/Jobs/InstancePipeline/FetchNodeinfoPipeline.php +++ b/app/Jobs/InstancePipeline/FetchNodeinfoPipeline.php @@ -72,10 +72,12 @@ class FetchNodeinfoPipeline implements ShouldQueue, ShouldBeUniqueUntilProcessin $instance->software = strtolower(strip_tags($software)); $instance->user_count = Profile::whereDomain($instance->domain)->count(); $instance->nodeinfo_last_fetched = now(); + $instance->last_crawled_at = now(); $instance->save(); } } else { $instance->delivery_timeout = 1; + $instance->last_crawled_at = now(); $instance->delivery_next_after = now()->addHours(14); $instance->save(); } From aab8184cf4463078125a5f7c240bed690ee68765 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 31 May 2024 02:24:16 -0600 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c12af2682..d0753813d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,7 +12,7 @@ - Update ProfileController, fix atom feed cache ttl. Fixes #5093 ([921e2965](https://github.com/pixelfed/pixelfed/commit/921e2965)) - Update CollectionsController, add new self route ([bc2495c6](https://github.com/pixelfed/pixelfed/commit/bc2495c6)) - Update FederationController, add webfinger support for actor uri. Fixes #5068 ([24194f7d](https://github.com/pixelfed/pixelfed/commit/24194f7d)) -- ([](https://github.com/pixelfed/pixelfed/commit/)) +- Update FetchNodeinfoPipeline, set last_fetched_at timestamp ([a7fce91e](https://github.com/pixelfed/pixelfed/commit/a7fce91e)) - ([](https://github.com/pixelfed/pixelfed/commit/)) - ([](https://github.com/pixelfed/pixelfed/commit/))