We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 653761d commit 371eb37Copy full SHA for 371eb37
1 file changed
src/kernelbot/api/main.py
@@ -569,7 +569,7 @@ async def run_submission_async(
569
try:
570
await asyncio.wait_for(
571
asyncio.to_thread(enforce_submission_precheck, req.code, req.file_name),
572
- timeout=5.0,
+ timeout=20.0,
573
)
574
except asyncio.TimeoutError as e:
575
raise HTTPException(status_code=504, detail="KernelGuard pre-check timed out") from e
0 commit comments