Skip to content

Commit be02f48

Browse files
committed
Update UserAccountDelete command, increase sharedInbox ttl from 12h to 14d
1 parent 58506e3 commit be02f48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/Console/Commands/UserAccountDelete.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,14 @@ public function handle()
7474
$activity = $fractal->createData($resource)->toArray();
7575

7676
$audience = Instance::whereNotNull(['shared_inbox', 'nodeinfo_last_fetched'])
77-
->where('nodeinfo_last_fetched', '>', now()->subHours(12))
77+
->where('nodeinfo_last_fetched', '>', now()->subDays(14))
7878
->distinct()
7979
->pluck('shared_inbox');
8080

8181
$payload = json_encode($activity);
8282

8383
$client = new Client([
84-
'timeout' => 10,
84+
'timeout' => 5,
8585
]);
8686

8787
$version = config('pixelfed.version');

0 commit comments

Comments
 (0)