diff --git a/config/openim-push.yml b/config/openim-push.yml index f2dd39dbf..b6f77d4af 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, 10171, 10172, 10173, 10174, 10175, 10176, 10177 ] + ports: [ 10170, 10171, 10172, 10173, 10174, 10175, 10176, 10177, 10178, 10179, 10180, 10181, 10182, 10183, 10184, 10185 ] 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: [ 20670, 20671, 20672, 20673, 20674, 20675, 20676, 20677 ] + ports: [ 20670, 20671, 20672, 20673, 20674, 20675, 20676, 20677, 20678, 20679, 20680, 20681, 20682, 20683, 20684, 20685 ] maxConcurrentWorkers: 3 #Use geTui for offline push notifications, or choose fcm or jpns; corresponding configuration settings must be specified. diff --git a/scripts/create-topic.sh b/scripts/create-topic.sh index 206075fb8..6b6f966b7 100755 --- a/scripts/create-topic.sh +++ b/scripts/create-topic.sh @@ -36,7 +36,7 @@ echo "Kafka is ready. Creating topics..." topics=("toRedis" "toMongo" "toPush") -partitions=8 +partitions=16 replicationFactor=1 for topic in "${topics[@]}"; do