diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-08-08 21:17:13 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-08-08 21:17:13 +0900 |
| commit | a100dc8ba76aaeda2229940c1743c33cc0ef84b5 (patch) | |
| tree | e2e48d8d92e2601d65e3ce7d794d8727026c14e0 /worker/handlers.go | |
| parent | bb62b6ff19d9f8008458d1c0ad0b8b76090f091e (diff) | |
| parent | 3b13a61123becc63823ab0c0941aaff2048b020e (diff) | |
| download | iosdc-japan-2024-albatross-a100dc8ba76aaeda2229940c1743c33cc0ef84b5.tar.gz iosdc-japan-2024-albatross-a100dc8ba76aaeda2229940c1743c33cc0ef84b5.tar.zst iosdc-japan-2024-albatross-a100dc8ba76aaeda2229940c1743c33cc0ef84b5.zip | |
Merge branch 'feat/code-hash'
Diffstat (limited to 'worker/handlers.go')
| -rw-r--r-- | worker/handlers.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/worker/handlers.go b/worker/handlers.go index e7ceef6..ac9701f 100644 --- a/worker/handlers.go +++ b/worker/handlers.go @@ -23,6 +23,7 @@ func handleSwiftCompile(c echo.Context) error { res := execSwiftCompile( c.Request().Context(), req.Code, + req.CodeHash, req.maxDuration(), ) @@ -40,7 +41,7 @@ func handleWasmCompile(c echo.Context) error { res := execWasmCompile( c.Request().Context(), - req.Code, + req.CodeHash, req.maxDuration(), ) @@ -58,7 +59,7 @@ func handleTestRun(c echo.Context) error { res := execTestRun( c.Request().Context(), - req.Code, + req.CodeHash, req.Stdin, req.maxDuration(), ) |
