mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-02-15 00:29:03 -06:00
nats cluster name
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
@@ -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{
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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{
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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{
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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"),
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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{
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
},
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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{
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user