mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-18 11:03:17 +00:00
Update UserAccountDelete command, increase sharedInbox ttl from 12h to 14d
This commit is contained in:
parent
58506e390e
commit
be02f48a77
1 changed files with 2 additions and 2 deletions
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue