Skip to content

Commit 150e98b

Browse files
committed
fix: more precision over handling memory
1 parent aa5b058 commit 150e98b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17988,7 +17988,7 @@ func compressExecution(ctx context.Context, workflowExecution WorkflowExecution,
1798817988
log.Printf("[DEBUG] Execution size: %d for %s", len(jsonString), workflowExecution.ExecutionId)
1798917989
}
1799017990

17991-
if len(jsonString) > 10000000 {
17991+
if len(jsonString) > 5000000 {
1799217992
log.Printf("[WARNING][%s] Execution size is still too large (%d) when running %s!", workflowExecution.ExecutionId, len(jsonString), saveLocationInfo)
1799317993

1799417994
for resultIndex, result := range workflowExecution.Results {

0 commit comments

Comments
 (0)