nats cluster name

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
Jörn Friedrich Dreyer
2025-01-16 13:26:12 +01:00
parent 61b48a2580
commit 243ffe81c7
18 changed files with 18 additions and 18 deletions

View File

@@ -28,7 +28,7 @@ func DefaultConfig() *config.Config {
},
Events: config.Events{
Endpoint: "127.0.0.1:9233",
Cluster: "ocis-cluster",
Cluster: "opencloud-cluster",
EnableTLS: false,
},
Store: config.Store{

View File

@@ -26,7 +26,7 @@ func DefaultConfig() *config.Config {
},
Events: config.Events{
Endpoint: "127.0.0.1:9233",
Cluster: "ocis-cluster",
Cluster: "opencloud-cluster",
},
Workers: 10,
InfectedFileHandling: "delete",

View File

@@ -25,7 +25,7 @@ func DefaultConfig() *config.Config {
},
Events: config.Events{
Endpoint: "127.0.0.1:9233",
Cluster: "ocis-cluster",
Cluster: "opencloud-cluster",
EnableTLS: false,
},
Auditlog: config.Auditlog{

View File

@@ -28,7 +28,7 @@ func DefaultConfig() *config.Config {
},
Events: config.Events{
Endpoint: "127.0.0.1:9233",
Cluster: "ocis-cluster",
Cluster: "opencloud-cluster",
EnableTLS: false,
},
RevaGateway: shared.DefaultRevaConfig().Address,

View File

@@ -29,7 +29,7 @@ func DefaultConfig() *config.Config {
},
Events: config.Events{
Endpoint: "127.0.0.1:9233",
Cluster: "ocis-cluster",
Cluster: "opencloud-cluster",
EnableTLS: false,
},
Store: config.Store{

View File

@@ -127,7 +127,7 @@ func DefaultConfig() *config.Config {
AutoAcceptShares: true,
Events: config.Events{
Endpoint: "127.0.0.1:9233",
Cluster: "ocis-cluster",
Cluster: "opencloud-cluster",
EnableTLS: false,
},
MaxConcurrency: 1,

View File

@@ -118,7 +118,7 @@ func DefaultConfig() *config.Config {
},
Events: config.Events{
Endpoint: "127.0.0.1:9233",
Cluster: "ocis-cluster",
Cluster: "opencloud-cluster",
EnableTLS: false,
},
MaxConcurrency: 20,

View File

@@ -33,7 +33,7 @@ func DefaultConfig() *config.Config {
Nats: config.Nats{
Host: "127.0.0.1",
Port: 9233,
ClusterID: "ocis-cluster",
ClusterID: "opencloud-cluster",
StoreDir: filepath.Join(defaults.BaseDataPath(), "nats"),
TLSCert: filepath.Join(defaults.BaseDataPath(), "nats/tls.crt"),
TLSKey: filepath.Join(defaults.BaseDataPath(), "nats/tls.key"),

View File

@@ -37,7 +37,7 @@ func DefaultConfig() *config.Config {
},
Events: config.Events{
Endpoint: "127.0.0.1:9233",
Cluster: "ocis-cluster",
Cluster: "opencloud-cluster",
EnableTLS: false,
},
RevaGateway: shared.DefaultRevaConfig().Address,

View File

@@ -87,7 +87,7 @@ func DefaultConfig() *config.Config {
},
Events: config.Events{
Endpoint: "127.0.0.1:9233",
Cluster: "ocis-cluster",
Cluster: "opencloud-cluster",
},
ScienceMesh: config.ScienceMesh{
Prefix: "sciencemesh",

View File

@@ -33,7 +33,7 @@ func DefaultConfig() *config.Config {
},
Events: config.Events{
Endpoint: "127.0.0.1:9233",
Cluster: "ocis-cluster",
Cluster: "opencloud-cluster",
EnableTLS: false,
},
Engine: config.Engine{

View File

@@ -29,7 +29,7 @@ func DefaultConfig() *config.Config {
Postprocessing: config.Postprocessing{
Events: config.Events{
Endpoint: "127.0.0.1:9233",
Cluster: "ocis-cluster",
Cluster: "opencloud-cluster",
},
Workers: 3,
RetryBackoffDuration: 5 * time.Second,

View File

@@ -97,7 +97,7 @@ func DefaultConfig() *config.Config {
CSPConfigFileLocation: "",
Events: config.Events{
Endpoint: "127.0.0.1:9233",
Cluster: "ocis-cluster",
Cluster: "opencloud-cluster",
EnableTLS: false,
},
}

View File

@@ -49,7 +49,7 @@ func DefaultConfig() *config.Config {
},
Events: config.Events{
Endpoint: "127.0.0.1:9233",
Cluster: "ocis-cluster",
Cluster: "opencloud-cluster",
DebounceDuration: 1000,
AsyncUploads: true,
EnableTLS: false,

View File

@@ -73,7 +73,7 @@ func DefaultConfig() *config.Config {
},
Events: config.Events{
Addr: "127.0.0.1:9233",
ClusterID: "ocis-cluster",
ClusterID: "opencloud-cluster",
EnableTLS: false,
},
EnableExpiredSharesCleanup: true,

View File

@@ -26,7 +26,7 @@ func DefaultConfig() *config.Config {
},
Events: config.Events{
Endpoint: "127.0.0.1:9233",
Cluster: "ocis-cluster",
Cluster: "opencloud-cluster",
},
HTTP: config.HTTP{
Addr: "127.0.0.1:9135",

View File

@@ -151,7 +151,7 @@ func DefaultConfig() *config.Config {
},
Events: config.Events{
Addr: "127.0.0.1:9233",
ClusterID: "ocis-cluster",
ClusterID: "opencloud-cluster",
EnableTLS: false,
},
FilemetadataCache: config.FilemetadataCache{

View File

@@ -31,7 +31,7 @@ func DefaultConfig() *config.Config {
},
Events: config.Events{
Endpoint: "127.0.0.1:9233",
Cluster: "ocis-cluster",
Cluster: "opencloud-cluster",
EnableTLS: false,
},
MaxConcurrency: 1,