mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-12-26 15:29:04 +01:00
Add some golang debug options
This commit is contained in:
parent
38d4e0a730
commit
e098c33179
@ -15,3 +15,9 @@ CONF_DIR=/etc/cc-metric-collector
|
|||||||
CONF_FILE=/etc/cc-metric-collector/cc-metric-collector.json
|
CONF_FILE=/etc/cc-metric-collector/cc-metric-collector.json
|
||||||
|
|
||||||
RESTART_ON_UPGRADE=true
|
RESTART_ON_UPGRADE=true
|
||||||
|
|
||||||
|
# Golang runtime debugging. (see: https://pkg.go.dev/runtime)
|
||||||
|
# GODEBUG=gctrace=1
|
||||||
|
|
||||||
|
# Golang garbage collection target percentage
|
||||||
|
# GOGC=100
|
||||||
|
Loading…
Reference in New Issue
Block a user