2026-04-23 17:41:24 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
|
|
return [
|
2026-04-23 20:48:35 +02:00
|
|
|
'http' => [
|
|
|
|
|
'timeout' => 10,
|
|
|
|
|
// Default points at the project site so fediverse admins can always trace a Trove poller
|
|
|
|
|
// back to the project. Operators running their own deployment should override this via
|
|
|
|
|
// `php artisan vendor:publish --tag=fedi-discover-config` with their own contact URL.
|
|
|
|
|
'user_agent' => 'Trove/1.0 (+https://trove.lvl0.xyz)',
|
|
|
|
|
'max_redirects' => 3,
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
'defaults' => [
|
|
|
|
|
// Minimum recommended: 60. Mastodon/Lemmy rate limits apply per-instance.
|
|
|
|
|
'interval_seconds' => 300,
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
// Instances are DB-managed (table: fedi_discover_instances).
|
|
|
|
|
// See the Instance model + admin UI (TBD). No instance list here.
|
2026-04-23 17:41:24 +02:00
|
|
|
];
|