mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 09:53:48 +00:00
metrics: rephrase comment
This commit is contained in:
parent
ada0f55f0a
commit
928c8a242a
1 changed files with 4 additions and 2 deletions
|
|
@ -23,8 +23,10 @@ func Enabled() bool {
|
|||
|
||||
// Enable enables the metrics system.
|
||||
// The Enabled-flag is expected to be set, once, during startup, but toggling off and on
|
||||
// is not supported,
|
||||
// Enable is not safe to call concurrently. It has no effect if it was already called.
|
||||
// is not supported.
|
||||
//
|
||||
// Enable is not safe to call concurrently. You need to call this as early as possible in
|
||||
// the program, before any metrics collection will happen.
|
||||
func Enable() {
|
||||
metricsEnabled = true
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue