From a7fce91e0cb48963935c135e096251362283c31d Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 31 May 2024 02:23:55 -0600 Subject: [PATCH] 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 943281bb..38127b2a 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(); }