mirror of
https://github.com/xCyanGrizzly/DragonsStash.git
synced 2026-05-11 06:11:15 +00:00
Fix Telegram worker: countdown timer, orphaned runs, fetch-listener reconnection, and logging
Co-authored-by: xCyanGrizzly <53275238+xCyanGrizzly@users.noreply.github.com>
This commit is contained in:
@@ -9,5 +9,9 @@ export async function GET(request: Request) {
|
||||
if ("error" in authResult) return authResult.error;
|
||||
|
||||
const accounts = await getIngestionStatus();
|
||||
return NextResponse.json({ accounts });
|
||||
const workerIntervalMinutes = parseInt(
|
||||
process.env.WORKER_INTERVAL_MINUTES ?? "60",
|
||||
10
|
||||
);
|
||||
return NextResponse.json({ accounts, workerIntervalMinutes });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user