-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drop timeout for requests made to the internal hook api #33947
Drop timeout for requests made to the internal hook api #33947
Conversation
8cc6812
to
2f889f2
Compare
Thank you for investigating the problem! Maybe we can't use Actually the |
I think we could simply remove this "timeout" setting. No timeout should be good enough. |
5b0111a
to
e192c3f
Compare
e192c3f
to
f4061d7
Compare
I will try to push some commits here 🙏 |
This would be great. I actually have very limited time for that. |
ps: since your PR is from an github org, so maintainers can't edit or sync it with latest main branch (github's limit). Gitea's PR workflow requires all PRs must be merged with latest main branch first to pass CI. So after this PR gets approved, you still need to manually click "update branch" one or two times to help to get it merged into main. Usually a PR from a individual's account is easier to co-work, maintainers could help to edit and merge it by themselves. |
Oh good to know. I was wondering why I didn't found that option. Now I know. I'll keep that in mind for new PRs. |
I moved the org repo to my personal repo and checked |
Thank you very much. |
use 0 as timeout
This change targets go-gitea#32663 We drop the hardcoded timeout of 60 seconds for requests to the internal hook api. With this change the timeout is completly removed. --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* giteaofficial/main: [skip ci] Updated translations via Crowdin Only use prev and next buttons for pagination on user dashboard (go-gitea#33981) update jwt and redis packages (go-gitea#33984) [skip ci] Updated translations via Crowdin Improve oauth2 error handling (go-gitea#33969) [skip ci] Updated translations via Crowdin Cover `go.mod` and `go.sum` in `.editorconfig` (go-gitea#33960) Drop timeout for requests made to the internal hook api (go-gitea#33947) Fix file name could not be searched if the file was not a text file when using the Bleve indexer (go-gitea#33959) Fix oauth2 auth and UI (go-gitea#33961) Allow filtering issues by any assignee (go-gitea#33343) Optimize total count of feed when loading activities in user dashboard. (go-gitea#33841) Extract code to their own functions for push update (go-gitea#33944) Optimize heatmap query (go-gitea#33853)
This change targets #32663
We drop the hardcoded timeout of 60 seconds for requests to the internal hook api. With this change the timeout is completly removed.
Note: I never really worked with go. Please keep that in mind when giving feedback :)