Initial import of the CBDDC codebase with docs and tests. Add a .NET-focused gitignore to keep generated artifacts out of source control.
Some checks failed
CI / verify (push) Has been cancelled
Some checks failed
CI / verify (push) Has been cancelled
This commit is contained in:
51
samples/ZB.MOM.WW.CBDDC.Sample.Console/appsettings.json
Executable file
51
samples/ZB.MOM.WW.CBDDC.Sample.Console/appsettings.json
Executable file
@@ -0,0 +1,51 @@
|
||||
{
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft": "Warning",
|
||||
"System": "Warning",
|
||||
"CBDDC": "Information",
|
||||
"ZB.MOM.WW.CBDDC.Network.SyncOrchestrator": "Information",
|
||||
"ZB.MOM.WW.CBDDC.Core.Storage.OplogCoordinator": "Warning",
|
||||
"ZB.MOM.WW.CBDDC.Persistence": "Warning"
|
||||
}
|
||||
},
|
||||
"CBDDC": {
|
||||
"Network": {
|
||||
"TcpPort": 5001,
|
||||
"UdpPort": 6000,
|
||||
"AuthToken": "demo-secret-key",
|
||||
"ConnectionTimeoutMs": 5000,
|
||||
"RetryAttempts": 3,
|
||||
"RetryDelayMs": 1000,
|
||||
"LocalhostOnly": false
|
||||
},
|
||||
"Persistence": {
|
||||
"DatabasePath": "data/cbddc.db",
|
||||
"EnableWalMode": true,
|
||||
"CacheSizeMb": 50,
|
||||
"EnableAutoBackup": true,
|
||||
"BackupPath": "backups/",
|
||||
"BusyTimeoutMs": 5000
|
||||
},
|
||||
"Sync": {
|
||||
"SyncIntervalMs": 5000,
|
||||
"BatchSize": 100,
|
||||
"EnableOfflineQueue": true,
|
||||
"MaxQueueSize": 1000
|
||||
},
|
||||
"Logging": {
|
||||
"LogLevel": "Information",
|
||||
"LogFilePath": "logs/cbddc.log",
|
||||
"MaxLogFileSizeMb": 10,
|
||||
"MaxLogFiles": 5
|
||||
},
|
||||
"KnownPeers": [
|
||||
{
|
||||
"NodeId": "AspNetSampleNode",
|
||||
"Host": "localhost",
|
||||
"Port": 6001
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user