feat(speedtest): worker + hourly cron + history/run routes
Adds speedtest pg-boss worker with injectable runner for testing, hourly cron enqueue, and /api/speedtest/history (GET) + /run (POST, owner-only) routes. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -4,8 +4,9 @@ import * as url from './workers/url.js';
|
||||
import * as blob from './workers/blob.js';
|
||||
import * as embed from './workers/embed.js';
|
||||
import * as karakeep from './workers/karakeep.js';
|
||||
import * as speedtest from './workers/speedtest.js';
|
||||
|
||||
const WORKERS = [echo, url, blob, embed, karakeep];
|
||||
const WORKERS = [echo, url, blob, embed, karakeep, speedtest];
|
||||
|
||||
export async function registerWorkers() {
|
||||
for (const w of WORKERS) {
|
||||
|
||||
Reference in New Issue
Block a user