File tree Expand file tree Collapse file tree
apps/sim/lib/logs/execution Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ describe('ExecutionLogger', () => {
171171
172172 test ( 'summarizes oversized execution data before storage' , ( ) => {
173173 const loggerInstance = new ExecutionLogger ( ) as any
174- const largePayload = 'x' . repeat ( 220_000 )
174+ const largePayload = 'x' . repeat ( 1_100_000 )
175175 const executionState = {
176176 blockStates : {
177177 blockA : {
@@ -242,7 +242,7 @@ describe('ExecutionLogger', () => {
242242 )
243243 const storedBytes = Buffer . byteLength ( JSON . stringify ( compacted ) , 'utf8' )
244244
245- expect ( storedBytes ) . toBeLessThanOrEqual ( 500 * 1024 )
245+ expect ( storedBytes ) . toBeLessThanOrEqual ( 3 * 1024 * 1024 )
246246 expect ( compacted . executionDataTruncated ) . toBe ( true )
247247 expect ( compacted . executionState ) . toBeUndefined ( )
248248 expect ( compacted . executionStateSummary ) . toEqual ( {
Original file line number Diff line number Diff line change @@ -42,9 +42,9 @@ import type {
4242import type { SerializableExecutionState } from '@/executor/execution/types'
4343
4444const logger = createLogger ( 'ExecutionLogger' )
45- const MAX_EXECUTION_DATA_BYTES = 500 * 1024
45+ const MAX_EXECUTION_DATA_BYTES = 3 * 1024 * 1024
4646const MAX_TRACE_IO_BYTES = 8 * 1024
47- const MAX_WORKFLOW_VALUE_BYTES = 64 * 1024
47+ const MAX_WORKFLOW_VALUE_BYTES = 512 * 1024
4848const EXECUTION_LOG_STATEMENT_TIMEOUT_MS = 30_000
4949const EXECUTION_LOG_LOCK_TIMEOUT_MS = 3_000
5050const EXECUTION_LOG_IDLE_TIMEOUT_MS = 5_000
You can’t perform that action at this time.
0 commit comments