From be02f48a7755902658255959379a92edbc8b3683 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Thu, 5 Sep 2024 01:29:01 -0600 Subject: [PATCH] Update UserAccountDelete command, increase sharedInbox ttl from 12h to 14d --- app/Console/Commands/UserAccountDelete.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Console/Commands/UserAccountDelete.php b/app/Console/Commands/UserAccountDelete.php index 68fad1e92..5032676c4 100644 --- a/app/Console/Commands/UserAccountDelete.php +++ b/app/Console/Commands/UserAccountDelete.php @@ -74,14 +74,14 @@ class UserAccountDelete extends Command $activity = $fractal->createData($resource)->toArray(); $audience = Instance::whereNotNull(['shared_inbox', 'nodeinfo_last_fetched']) - ->where('nodeinfo_last_fetched', '>', now()->subHours(12)) + ->where('nodeinfo_last_fetched', '>', now()->subDays(14)) ->distinct() ->pluck('shared_inbox'); $payload = json_encode($activity); $client = new Client([ - 'timeout' => 10, + 'timeout' => 5, ]); $version = config('pixelfed.version');