Remove broker session rest
Reverts062ec07and5eb0ea7: every firm's broker session stays logged in around the clock again, renewing its token on the fixed timer as before. The tree is back to 6dd2528's. A session_rest row left in settings is unused. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
062ec07f0a
commit
5ec5abde6e
@@ -13,7 +13,6 @@
|
||||
|
||||
import { createRun } from './db';
|
||||
import { findAutomation, resolveSteps } from './automations';
|
||||
import { wakeAllFirms } from './clients';
|
||||
|
||||
export class QueueRunError extends Error {
|
||||
constructor(message: string, readonly status: number) {
|
||||
@@ -53,8 +52,5 @@ export function queueRun(automationId: string, supplied: Record<string, unknown>
|
||||
}
|
||||
|
||||
const run = createRun(automationId, resolved.length, inputs);
|
||||
// A purchase brings a new account: a resting session (lib/clients.ts)
|
||||
// logs back in now so it is seen, and traded if it can be.
|
||||
wakeAllFirms('AutoBuyer run');
|
||||
return { runId: run.id, totalSteps: run.total_steps, inputs };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user