Adjust configuration settings

This commit is contained in:
skiffer-git 2024-04-03 17:38:44 +08:00
parent 7e8c962d59
commit 213269acc1
5 changed files with 719 additions and 384 deletions

27
config/local-cache.yml Normal file
View File

@ -0,0 +1,27 @@
user:
topic: DELETE_CACHE_USER
slotNum: 100
slotSize: 2000
successExpire: 300
failedExpire: 5
group:
topic: DELETE_CACHE_GROUP
slotNum: 100
slotSize: 2000
successExpire: 300
failedExpire: 5
friend:
topic: DELETE_CACHE_FRIEND
slotNum: 100
slotSize: 2000
successExpire: 300
failedExpire: 5
conversation:
topic: DELETE_CACHE_CONVERSATION
slotNum: 100
slotSize: 2000
successExpire: 300
failedExpire: 5

View File

@ -4,3 +4,4 @@ database: openim_v3
username: openIM
password: openIM123
maxPoolSize: 100
maxRetry: 10

View File

@ -1,7 +1,5 @@
# msgtransfer
prometheus:
enable: true
ports: [ 20108, 20109, 20110, 20111 ] # List of ports
ports: [ 20108, 20109, 20110, 20111 ]
msgCacheTimeout: 86400

File diff suppressed because it is too large Load Diff