From 5c4bd20e11e9fd378e52c0b93f30bdafb337eb05 Mon Sep 17 00:00:00 2001 From: icey-yu <1186114839@qq.com> Date: Mon, 12 Aug 2024 18:22:12 +0800 Subject: [PATCH] fix: push config --- config/openim-push.yml | 4 ++-- start-config.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/openim-push.yml b/config/openim-push.yml index 9384008a04..b9e0af0cad 100644 --- a/config/openim-push.yml +++ b/config/openim-push.yml @@ -4,13 +4,13 @@ rpc: # IP address that the RPC service listens on; setting to 0.0.0.0 listens on both internal and external IPs. If left blank, it automatically uses the internal network IP listenIP: 0.0.0.0 # List of ports that the RPC service listens on; configuring multiple ports will launch multiple instances. These must match the number of configured prometheus ports - ports: [ 10170 ] + ports: [ 10170, 10171, 10172, 10173 ] prometheus: # Enable or disable Prometheus monitoring enable: true # List of ports that Prometheus listens on; these must match the number of rpc.ports to ensure correct monitoring setup - ports: [ 20107 ] + ports: [ 20107, 20207, 20208, 20209 ] maxConcurrentWorkers: 3 #"Use geTui for offline push notifications, or choose fcm or jpns; corresponding configuration settings must be specified." diff --git a/start-config.yml b/start-config.yml index 21436d7a9a..a6d3e47afa 100644 --- a/start-config.yml +++ b/start-config.yml @@ -3,7 +3,7 @@ serviceBinaries: openim-crontask: 1 openim-rpc-user: 1 openim-msggateway: 1 - openim-push: 1 + openim-push: 4 openim-msgtransfer: 4 openim-rpc-conversation: 1 openim-rpc-auth: 1