Fix
This commit is contained in:
@ -1,7 +1,6 @@
|
||||
import path from "path";
|
||||
import { serve } from "@hono/node-server";
|
||||
import { Hono } from "hono";
|
||||
import "./services/batch-scheduler.js";
|
||||
import { config, validateConfig } from "./services/config.js";
|
||||
import { closeBrowser } from "./services/content-extractor.js";
|
||||
|
||||
@ -783,8 +782,7 @@ app.get("/episode/:episodeId", async (c) => {
|
||||
// Catch-all for SPA routing
|
||||
app.get("*", serveIndex);
|
||||
|
||||
// Batch processing - now using batch scheduler
|
||||
console.log("🔄 Batch scheduler initialized and ready");
|
||||
// Batch processing is managed by the admin server
|
||||
|
||||
// Graceful shutdown
|
||||
process.on("SIGINT", async () => {
|
||||
@ -810,7 +808,7 @@ serve(
|
||||
console.log(`📡 Using configuration from: ${config.paths.projectRoot}`);
|
||||
console.log(`🗄️ Database: ${config.paths.dbPath}`);
|
||||
console.log(
|
||||
`🔄 Batch scheduler is active and will manage automatic processing`,
|
||||
`🔄 Batch processing is managed by admin server (port ${config.admin.port})`,
|
||||
);
|
||||
},
|
||||
);
|
||||
|
Reference in New Issue
Block a user