mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #786] [Feature]: Configure Game Mode image generation timeout #380
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#380
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cha1latte on GitHub (May 13, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/786
Originally assigned to: @SpicyMarinara on GitHub.
What problem does this solve?
Game Mode image generation can take longer than the current timeout allows. A Discord report says 120 seconds is too short for Game Mode, and there does not appear to be a current Game Mode setting to disable or adjust that timeout.
Professor Mari checked the Game Mode asset path and found that Game Mode calls the shared
generateImage(...)flow for portraits, backgrounds, and illustrations, then logs and returnsnullif generation fails. The visible Game Mode image settings are size-related only, so the timeout likely lives in the shared image generation/provider request layer rather than Game Mode itself.Proposed solution
Add a way to configure the image generation timeout for Game Mode assets.
Possible shape:
If a true disabled timeout is not safe, a longer configurable timeout for Game Mode would still address the immediate problem.
Alternatives considered
Additional context
Source/context: Discord feature request.
Reporter/source: Sona asked whether there is any way to disable image timeout because "120 seconds is too short for gamemode." Chai asked Professor Mari whether there is currently a way to disable image timeout in Game Mode, and Professor Mari reported that no Game Mode-specific toggle was visible.
Source link: https://discord.com/channels/1417099416812392641/1503876057831309393
Suggested triage:
scope-risk, because the request is focused and aligned with Game Mode/image generation, but the likely implementation touches the shared image generation timeout/provider request layer and needs a safety decision around disabling versus extending timeouts.Suggested triage comment:
Triage note: labeling this as
scope-riskbecause the Game Mode ask is clear, but disabling or extending image timeouts likely crosses the shared image generation/provider request layer and needs a safety decision around hung requests.Least risky next step is to identify the actual timeout source, then add a bounded configurable Game Mode timeout before considering a fully disabled timeout option.
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@cha1latte commented on GitHub (May 13, 2026):
Triage note: labeling this as
scope-riskbecause the Game Mode ask is clear, but disabling or extending image timeouts likely crosses the shared image generation/provider request layer and needs a safety decision around hung requests.Least risky next step is to identify the actual timeout source, then add a bounded configurable Game Mode timeout before considering a fully disabled timeout option.
@SpicyMarinara commented on GitHub (May 17, 2026):
I will simply increase the timeout to 5 minutes.
@SpicyMarinara commented on GitHub (May 17, 2026):
Fixed on staging in
c82547f7. ComfyUI's queued-workflow polling timeout now defaults to 300 seconds, matching the shared 5-minute image request timeout used by Game Mode image assets. Also documented IMAGE_GEN_TIMEOUT_MS and COMFYUI_GEN_TIMEOUT in .env/docs.