You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is quite misleading (in my case my update hook was crashing after 60 seconds without any apparent reason). Either the code or the documentation should be updated with the correct value (60 or 360).
A bit off-topic, but is there a reason why it is not possible to set every configuration value with Docker environment variables ?
Thanks in advance !
The text was updated successfully, but these errors were encountered:
Hi there,
[x]
):Description
In the documentation, it is specified that
git.timeout.default
is set to 360 seconds. See https://docs.gitea.io/en-us/config-cheat-sheet/#git-timeout-settings-git-timeoutThis is also the value documented here : https://github.com/go-gitea/gitea/blob/master/custom/conf/app.ini.sample#L877
This is not the case when starting the application without this setting, where the default is 60 :
The value is defined here : https://github.com/go-gitea/gitea/blob/master/modules/git/command.go#L25
Here default timeout is set with the previous value : https://github.com/go-gitea/gitea/blob/master/modules/setting/git.go#L53
This is quite misleading (in my case my update hook was crashing after 60 seconds without any apparent reason). Either the code or the documentation should be updated with the correct value (60 or 360).
A bit off-topic, but is there a reason why it is not possible to set every configuration value with Docker environment variables ?
Thanks in advance !
The text was updated successfully, but these errors were encountered: