aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/taskqueue/processor.go
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-09-06 14:57:45 +0900
committernsfisis <nsfisis@gmail.com>2025-09-06 14:57:45 +0900
commitb3042f87c4ee79d114c63823057ee5c52dccfa12 (patch)
tree3ed9132474b58f523a1c3d1470ab18b38cd09fe5 /backend/taskqueue/processor.go
parentcb234bb43d1bc4f2766bee639dc552337521b748 (diff)
downloadiosdc-japan-2025-albatross-b3042f87c4ee79d114c63823057ee5c52dccfa12.tar.gz
iosdc-japan-2025-albatross-b3042f87c4ee79d114c63823057ee5c52dccfa12.tar.zst
iosdc-japan-2025-albatross-b3042f87c4ee79d114c63823057ee5c52dccfa12.zip
feat(backend): increase timeout from 5 s to 30 s
Diffstat (limited to 'backend/taskqueue/processor.go')
-rw-r--r--backend/taskqueue/processor.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/taskqueue/processor.go b/backend/taskqueue/processor.go
index c4cf60b..4566951 100644
--- a/backend/taskqueue/processor.go
+++ b/backend/taskqueue/processor.go
@@ -36,7 +36,7 @@ func (p *processor) doProcessTaskRunTestcase(
Code: payload.Code,
CodeHash: calcCodeHash(payload.Code),
Stdin: payload.Stdin,
- MaxDuration: 5000,
+ MaxDuration: 30 * 1000,
}
reqJSON, err := json.Marshal(reqData)
if err != nil {