diff --git a/packages/Lvl0/FediDiscover/config/fedi-discover.php b/packages/Lvl0/FediDiscover/config/fedi-discover.php index 355f9f3..3dff16a 100644 --- a/packages/Lvl0/FediDiscover/config/fedi-discover.php +++ b/packages/Lvl0/FediDiscover/config/fedi-discover.php @@ -3,5 +3,20 @@ declare(strict_types=1); return [ - // Instance list, polling intervals, and HTTP client config land here. + '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. ];