set reporter.enabled default to true

pull/785/head
lepdou 3 years ago
parent d1e6005cdc
commit ce7e1c1ed3

@ -19,3 +19,4 @@
- [Test:add sct-stater-polaris-router junit.](https://github.com/Tencent/spring-cloud-tencent/pull/768)
- [Optimize: add equals&hasCode for PolarisServiceInstance](https://github.com/Tencent/spring-cloud-tencent/pull/773)
- [Fix issue: prompt no registration if web dependence was not imported.](https://github.com/Tencent/spring-cloud-tencent/pull/778)
- [set reporter.enabled default to true](https://github.com/Tencent/spring-cloud-tencent/pull/785)

@ -35,7 +35,7 @@ public class RpcEnhancementReporterProperties {
/**
* Whether report call result to polaris.
*/
private boolean enabled;
private boolean enabled = true;
/**
* Specify the Http status code(s) that needs to be reported as FAILED.

@ -9,7 +9,7 @@
{
"name": "spring.cloud.tencent.rpc-enhancement.reporter.enabled",
"type": "java.lang.Boolean",
"defaultValue": false,
"defaultValue": true,
"description": "Whether report call result to polaris."
},
{

Loading…
Cancel
Save