diff options
author | Mechiel Lukkien <mechiel@ueber.net> | 2024-01-20 03:12:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-20 10:12:20 +0800 |
commit | b9d91694afc4b2b52220450927107e6f44f9a7bd (patch) | |
tree | 0e704b05b75055842bca9d019699de4c0c0e3afa /docs | |
parent | 62f995203ab3397a6d995afb80767b33b1f00a1f (diff) | |
download | gitea-b9d91694afc4b2b52220450927107e6f44f9a7bd.tar.gz gitea-b9d91694afc4b2b52220450927107e6f44f9a7bd.zip |
In administration documentation about environment variables, point to those for the Go runtime instead of Go compiler (#28859)
The previous variables are used by the compiler and aren't too useful
for non-developers. The newly listed variables are more likely to be of
interest.
Apologies for this drive-by PR, I probably missed instructions from the
contributors guide. The patch can be regarded as a simple way to explain
the problem and solution. Feel free to close and possibly create a new
PR that does adhere to the contributors guide.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/content/administration/environment-variables.en-us.md | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/docs/content/administration/environment-variables.en-us.md b/docs/content/administration/environment-variables.en-us.md index f910cf060e..2c6fcbe681 100644 --- a/docs/content/administration/environment-variables.en-us.md +++ b/docs/content/administration/environment-variables.en-us.md @@ -27,14 +27,15 @@ GITEA_CUSTOM=/home/gitea/custom ./gitea web ## From Go language -As Gitea is written in Go, it uses some Go variables, such as: +As Gitea is written in Go, it uses some variables that influence the behaviour of Go's runtime, such as: -- `GOOS` -- `GOARCH` -- [`GOPATH`](https://golang.org/cmd/go/#hdr-GOPATH_environment_variable) +- `GOMEMLIMIT` +- `GOGC` +- `GOMAXPROCS` +- `GODEBUG` For documentation about each of the variables available, refer to the -[official Go documentation](https://golang.org/cmd/go/#hdr-Environment_variables). +[official Go documentation on runtime environment variables](https://pkg.go.dev/runtime#hdr-Environment_Variables). ## Gitea files |