mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-18 04:21:27 +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();
|
$activity = $fractal->createData($resource)->toArray();
|
||||||
|
|
||||||
$audience = Instance::whereNotNull(['shared_inbox', 'nodeinfo_last_fetched'])
|
$audience = Instance::whereNotNull(['shared_inbox', 'nodeinfo_last_fetched'])
|
||||||
->where('nodeinfo_last_fetched', '>', now()->subHours(12))
|
->where('nodeinfo_last_fetched', '>', now()->subDays(14))
|
||||||
->distinct()
|
->distinct()
|
||||||
->pluck('shared_inbox');
|
->pluck('shared_inbox');
|
||||||
|
|
||||||
$payload = json_encode($activity);
|
$payload = json_encode($activity);
|
||||||
|
|
||||||
$client = new Client([
|
$client = new Client([
|
||||||
'timeout' => 10,
|
'timeout' => 5,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$version = config('pixelfed.version');
|
$version = config('pixelfed.version');
|
||||||
|
|
Loading…
Reference in a new issue