From 5384ece19deeb40a78b8088a429b1f1c2f7cb332 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 12 Aug 2024 06:40:39 +0900 Subject: feat(backend): increase max_duration_ms from 5 s to 10 s --- backend/taskqueue/processor.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/taskqueue/processor.go b/backend/taskqueue/processor.go index 5678cc8..aef247b 100644 --- a/backend/taskqueue/processor.go +++ b/backend/taskqueue/processor.go @@ -58,7 +58,7 @@ func (p *processor) doProcessTaskCompileSwiftToWasm( Stderr string `json:"stderr"` } reqData := swiftcRequestData{ - MaxDuration: 5000, + MaxDuration: 10000, Code: payload.Code, CodeHash: string(payload.CodeHash()), } @@ -110,7 +110,7 @@ func (p *processor) doProcessTaskCompileWasmToNativeExecutable( Stderr string `json:"stderr"` } reqData := wasmcRequestData{ - MaxDuration: 5000, + MaxDuration: 10000, CodeHash: string(payload.CodeHash()), } reqJSON, err := json.Marshal(reqData) -- cgit v1.2.3-70-g09d2