aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-08-12 06:40:39 +0900
committernsfisis <nsfisis@gmail.com>2024-08-12 06:40:39 +0900
commit5384ece19deeb40a78b8088a429b1f1c2f7cb332 (patch)
tree4603c0c4cbf25d675bdec7bcd8f132d401bac3ed
parentfd928fbfb82020daffb722e28f4d562f6d143031 (diff)
downloadphperkaigi-2025-albatross-5384ece19deeb40a78b8088a429b1f1c2f7cb332.tar.gz
phperkaigi-2025-albatross-5384ece19deeb40a78b8088a429b1f1c2f7cb332.tar.zst
phperkaigi-2025-albatross-5384ece19deeb40a78b8088a429b1f1c2f7cb332.zip
feat(backend): increase max_duration_ms from 5 s to 10 s
-rw-r--r--backend/taskqueue/processor.go4
1 files 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)