mirror of https://github.com/hashicorp/consul
backport of commit ccf91c7b7f
(#17384)
Co-authored-by: Dan Bond <danbond@protonmail.com>backport/f/metrics-collector-rename/highly-clean-elf
parent
0beb371485
commit
7dccf73d21
|
@ -614,8 +614,10 @@ func (a *Agent) Start(ctx context.Context) error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
// periodically write server metadata to disk.
|
// Periodically write server metadata to disk.
|
||||||
go a.persistServerMetadata()
|
if !consulCfg.DevMode {
|
||||||
|
go a.persistServerMetadata()
|
||||||
|
}
|
||||||
|
|
||||||
incomingRPCLimiter := consul.ConfiguredIncomingRPCLimiter(
|
incomingRPCLimiter := consul.ConfiguredIncomingRPCLimiter(
|
||||||
&lib.StopChannelContext{StopCh: a.shutdownCh},
|
&lib.StopChannelContext{StopCh: a.shutdownCh},
|
||||||
|
|
Loading…
Reference in New Issue