feat(research): prepare and retain explicit source datasets in the web workbench
This commit is contained in:
parent
06039d17ba
commit
366bee810b
21 changed files with 2677 additions and 76 deletions
|
|
@ -2,7 +2,7 @@ import { createHttpSecurity, httpSecurityOptions } from '@stock-bot/di';
|
|||
import type { IServiceContainer } from '@stock-bot/handlers';
|
||||
import { getLogger } from '@stock-bot/logger';
|
||||
import { initializeStockConfig } from '@stock-bot/stock-config';
|
||||
import { createRoutes } from './routes/create-routes';
|
||||
import { createRoutes, WEB_API_MAX_REQUEST_BODY_SIZE } from './routes/create-routes';
|
||||
import { createWebSocketRoute, handleWebSocketConnection } from './routes/websocket.routes';
|
||||
import { BacktestDispatcher } from './services/BacktestDispatcher';
|
||||
import { getWebSocketHandler, type RunSocketData } from './websocket/run-updates';
|
||||
|
|
@ -91,7 +91,7 @@ export async function startServerWithWebSocket() {
|
|||
server = Bun.serve<RunSocketData, {}>({
|
||||
port,
|
||||
hostname: security.hostname,
|
||||
maxRequestBodySize: 1_048_576,
|
||||
maxRequestBodySize: WEB_API_MAX_REQUEST_BODY_SIZE,
|
||||
|
||||
// Handle HTTP requests
|
||||
async fetch(req, server) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue