From 5f3d1b086cd8f9c2caec05f5b37dfbdf7456a5de Mon Sep 17 00:00:00 2001 From: cmgyqjj Date: Sat, 21 Sep 2024 14:32:01 +0800 Subject: [PATCH] feature:Support_reconnect_backoff_interface --- .../src/main/resources/application.yaml | 76 ++++++++++--------- 1 file changed, 39 insertions(+), 37 deletions(-) diff --git a/cim-client/src/main/resources/application.yaml b/cim-client/src/main/resources/application.yaml index d1d3e495..7b37a494 100644 --- a/cim-client/src/main/resources/application.yaml +++ b/cim-client/src/main/resources/application.yaml @@ -1,37 +1,39 @@ -spring: - application: - name: cim-client - -# web port -server: - port: 8082 - -logging: - level: - root: error - -# enable swagger -springdoc: - swagger-ui: - enabled: true - -# log path -cim: - msg: - logger: - path: /opt/logs/cim/ - route: - url: http://localhost:8083 # route url suggested that this is Nginx address - user: # cim userId and userName - id: 1725714450795 - userName: cj4 - callback: - thread: - queue: - size: 2 - pool: - size: 2 - heartbeat: - time: 60 # cim heartbeat time (seconds) - reconnect: - count: 3 \ No newline at end of file +spring: + application: + name: cim-client + +# web port +server: + port: 8082 + +logging: + level: + root: error + +# enable swagger +springdoc: + swagger-ui: + enabled: true + +# log path +cim: + msg: + logger: + path: /opt/logs/cim/ + route: + url: http://localhost:8083 # route url suggested that this is Nginx address + user: # cim userId and userName + id: 1725714450795 + userName: cj4 + callback: + thread: + queue: + size: 2 + pool: + size: 2 + heartbeat: + time: 60 # cim heartbeat time (seconds) + reconnect: + count: 3 + backoff: + strategy: com.crossoverjie.cim.client.sdk.io.backoff.RandomBackoff