mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
update config
This commit is contained in:
parent
811615aaa4
commit
ca671a0e8e
@ -635,7 +635,7 @@ func (l *CacheConfig) Enable() bool {
|
|||||||
return l.Topic != "" && l.SlotNum > 0 && l.SlotSize > 0
|
return l.Topic != "" && l.SlotNum > 0 && l.SlotSize > 0
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
const (
|
||||||
DiscoveryConfigFilename = "discovery.yml"
|
DiscoveryConfigFilename = "discovery.yml"
|
||||||
KafkaConfigFileName = "kafka.yml"
|
KafkaConfigFileName = "kafka.yml"
|
||||||
LocalCacheConfigFileName = "local-cache.yml"
|
LocalCacheConfigFileName = "local-cache.yml"
|
||||||
@ -657,6 +657,7 @@ var (
|
|||||||
RedisConfigFileName = "redis.yml"
|
RedisConfigFileName = "redis.yml"
|
||||||
ShareFileName = "share.yml"
|
ShareFileName = "share.yml"
|
||||||
WebhooksConfigFileName = "webhooks.yml"
|
WebhooksConfigFileName = "webhooks.yml"
|
||||||
|
NotificationFileName = "notification.yml"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (d *Discovery) GetConfigFileName() string {
|
func (d *Discovery) GetConfigFileName() string {
|
||||||
|
@ -27,8 +27,6 @@ import (
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
FileName = "config.yaml"
|
FileName = "config.yaml"
|
||||||
NotificationFileName = "notification.yaml"
|
|
||||||
DefaultFolderPath = "../config/"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// return absolude path join ../config/, this is k8s container config path.
|
// return absolude path join ../config/, this is k8s container config path.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user