Set timeout to explicit 0 in gogs.js#7890
Merged
Conversation
unknwon
pushed a commit
that referenced
this pull request
Jun 8, 2025
## Describe the pull request A simple fix in public/js/gogs.js making bug upload not result in a timeout (added just one line) Link to the issue: closes #6149 ## Test plan - Set the max_size of `attachment` to a high number ```toml [release.attachment] ENABLED = true ALLOWED_TYPES = */* MAX_SIZE = 512 MAX_FILES = 20 ``` - Upload a file to releases  It doesn't randomly timeout!
Member
|
The 0.13.3 has been released that includes this patch. |
tarun-asthana
pushed a commit
to tarun-asthana/gogs
that referenced
this pull request
Oct 4, 2025
## Describe the pull request A simple fix in public/js/gogs.js making bug upload not result in a timeout (added just one line) Link to the issue: closes gogs#6149 ## Test plan - Set the max_size of `attachment` to a high number ```toml [release.attachment] ENABLED = true ALLOWED_TYPES = */* MAX_SIZE = 512 MAX_FILES = 20 ``` - Upload a file to releases  It doesn't randomly timeout!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Describe the pull request
A simple fix in public/js/gogs.js making bug upload not result in a timeout (added just one line)
Link to the issue: closes #6149
Checklist
Test plan
attachmentto a high numberIt doesn't randomly timeout!