diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-08-12 06:40:39 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-08-12 06:40:39 +0900 |
| commit | 5384ece19deeb40a78b8088a429b1f1c2f7cb332 (patch) | |
| tree | 4603c0c4cbf25d675bdec7bcd8f132d401bac3ed /backend/taskqueue | |
| parent | fd928fbfb82020daffb722e28f4d562f6d143031 (diff) | |
| download | iosdc-japan-2025-albatross-5384ece19deeb40a78b8088a429b1f1c2f7cb332.tar.gz iosdc-japan-2025-albatross-5384ece19deeb40a78b8088a429b1f1c2f7cb332.tar.zst iosdc-japan-2025-albatross-5384ece19deeb40a78b8088a429b1f1c2f7cb332.zip | |
feat(backend): increase max_duration_ms from 5 s to 10 s
Diffstat (limited to 'backend/taskqueue')
| -rw-r--r-- | backend/taskqueue/processor.go | 4 |
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) |
