mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6363] Feature Request: Avoid hardcoded timeouts or make them configurable #3558
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#3558
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 @scavru on GitHub (Sep 19, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6363
Please avoid using strict, hardcoded timeouts for generation and backend operations, or provide a centralized place in the settings where users can configure them.
Different users have very different hardware, backends, network conditions, and generation speeds. A timeout that works well for one setup may be far too short for another.
For example, with my KoboldCpp backend, the backend can become busy while generating a complex scene. The application may hit a timeout and report that the operation failed or was cancelled, even though the backend is still working and would have completed successfully if given more time.
The same issue can occasionally happen with media generation: media generation may fail due to a timeout and ask the user to regenerate, while in reality the backend was simply still processing the request.
Ideally:
avoid unnecessary hardcoded timeouts where possible;
allow operations to wait for the backend instead of treating a slow response as an immediate failure;
if timeouts are necessary, provide centralized timeout settings in the UI;
preferably allow different timeout values for different operations (text generation, media generation, API requests, etc.).
This would make the application much more reliable across different hardware and backend configurations.
@SpicyMarinara commented on GitHub (Sep 19, 2026):
I am taking this in #6359. Owner: @SpicyMarinara, assisted by Codex. I will reuse the existing runtime timeout configuration and Settings controls to provide a central place to adjust text and media generation deadlines.
@SpicyMarinara commented on GitHub (Sep 19, 2026):
Merged to staging in #6359. Advanced Settings now exposes the existing request timeout limits in seconds. Admin-gated, rate-limited writes persist validated values beside the active .env without rewriting it. Text-related limits apply to new requests; media and installed packages require the restart disclosed in the UI. API, restart-persistence, and desktop/mobile browser proofs pass. All ten translated guides were merged through #6365.