open-consul/agent/rpc
Luke Kysow d21f793b74
peering: add config to enable/disable peering (#13867)
* peering: add config to enable/disable peering

Add config:

```
peering {
  enabled = true
}
```

Defaults to true. When disabled:
1. All peering RPC endpoints will return an error
2. Leader won't start its peering establishment goroutines
3. Leader won't start its peering deletion goroutines
2022-07-22 15:20:21 -07:00
..
middleware add more labels to RequestRecorder (#12727) 2022-04-12 10:50:25 -07:00
peering peering: add config to enable/disable peering (#13867) 2022-07-22 15:20:21 -07:00