We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d338ab0 commit c0a25b4Copy full SHA for c0a25b4
1 file changed
src/libkernelbot/launchers/modal.py
@@ -30,16 +30,9 @@ async def run_submission(
30
31
await status.push("⏳ Waiting for Modal run to finish...")
32
33
- # Use task-specific timeout + 60s buffer for signal-based timeout
34
- # This catches most hangs; container timeout is the fallback for hung GPUs
35
- task_timeout = config.get("ranked_timeout", 180)
36
- signal_timeout = task_timeout + 60
37
-
38
result = await loop.run_in_executor(
39
None,
40
- lambda: modal.Function.from_name("discord-bot-runner", func_name).remote(
41
- config=config, timeout_seconds=signal_timeout
42
- ),
+ lambda: modal.Function.from_name("discord-bot-runner", func_name).remote(config=config),
43
)
44
45
await status.update("✅ Waiting for modal run to finish... Done")
0 commit comments