Add comments to the configuration file

pull/2217/head
skiffer-git 1 year ago
parent 06a6d95f05
commit 50e82de06f

@ -1,7 +1,14 @@
# List of Redis server addresses
address: [ localhost:16379 ] address: [ localhost:16379 ]
# Username for Redis authentication (leave blank if not used)
username: '' username: ''
# Password for Redis authentication
password: openIM123 password: openIM123
# Enable or disable pipeline processing
enablePipeline: false enablePipeline: false
# Enable or disable cluster mode
clusterMode: false clusterMode: false
# Database index to be used
db: 0 db: 0
maxRetry: 10 # Maximum number of retry attempts for a failed connection
maxRetry: 10

@ -1,3 +1,4 @@
# Secret key used for verifying administrator identity, and for generating and validating tokens
secret: openIM123 secret: openIM123
env: zookeeper env: zookeeper
rpcRegisterName: rpcRegisterName:
@ -10,6 +11,6 @@ rpcRegisterName:
auth: auth auth: auth
conversation: conversation conversation: conversation
third: third third: third
# Built-in administrator userID
imAdminUserID: [ "imAdmin" ] imAdminUserID: [ "imAdmin" ]

@ -1,7 +1,11 @@
url: "webhook://127.0.0.1:10008/callbackExample" url: "webhook://127.0.0.1:10008/callbackExample"
# Webhook before sending a message
beforeSendSingleMsg: beforeSendSingleMsg:
# Whether to enable
enable: false enable: false
# Timeout duration in seconds
timeout: 5 timeout: 5
# Whether to continue on error
failedContinue: true failedContinue: true
beforeUpdateUserInfoEx: beforeUpdateUserInfoEx:
enable: false enable: false

@ -1,6 +1,8 @@
# Database schema name
schema: openim schema: openim
# List of server addresses
address: [ localhost:12181 ] address: [ localhost:12181 ]
# Username for authentication (leave blank if not used)
username: '' username: ''
# Password for authentication (leave blank if not used)
password: '' password: ''

Loading…
Cancel
Save