*/ public const ROUTES = array( self::ROUTE_CONNECTOR, self::ROUTE_CONFIG_FILE, self::ROUTE_NPM, self::ROUTE_WP_CLI, self::ROUTE_FLEET, self::ROUTE_BROWSER, self::ROUTE_DIRECT, ); /** * Seconds between `last_seen_at` writes for one client. * * Zero: every request updates the row. Unlike `Fleet\Hosts::touch()`, * which throttles because its store is a JSON blob needing a * read-modify-write of the whole thing, this is one indexed UPSERT. A * throttle here would also make `request_count` count active minutes * rather than requests — a number that reads like a request count and is * not one. Kept as a constant so the decision is visible rather than * implied by its absence. * * @since 0.4.8 * @var int */ public const TOUCH_THROTTLE_SECONDS = 0; /** * Not instantiable. * * @since 0.4.8 */ private function __construct() {} }