mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-05 11:52:10 +08:00
Adjust configuration settings
This commit is contained in:
parent
7e8c962d59
commit
213269acc1
27
config/local-cache.yml
Normal file
27
config/local-cache.yml
Normal 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
|
||||||
@ -4,3 +4,4 @@ database: openim_v3
|
|||||||
username: openIM
|
username: openIM
|
||||||
password: openIM123
|
password: openIM123
|
||||||
maxPoolSize: 100
|
maxPoolSize: 100
|
||||||
|
maxRetry: 10
|
||||||
@ -1,7 +1,5 @@
|
|||||||
# msgtransfer
|
|
||||||
prometheus:
|
prometheus:
|
||||||
enable: true
|
enable: true
|
||||||
ports: [ 20108, 20109, 20110, 20111 ] # List of ports
|
ports: [ 20108, 20109, 20110, 20111 ]
|
||||||
|
|
||||||
|
|
||||||
msgCacheTimeout: 86400
|
msgCacheTimeout: 86400
|
||||||
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user