mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-13 23:16:45 +00:00
egnine/sync-manager: add config support (#1326)
* allows sync manager customisation for values and logs * config-example add * who doesnt like more coverage? * ensures you can actually disable it via config el oh el * less ifs, better control * fix verbose * sync trades default false * fix summary being printed when not enabled * fixes config checker and output * nits * I can put this behind me now * Fixed logCaSiNg Co-authored-by: Adrian Gallagher <adrian.gallagher@thrasher.io> * combines if statements --------- Co-authored-by: Adrian Gallagher <adrian.gallagher@thrasher.io>
This commit is contained in:
@@ -37,6 +37,25 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"syncManager": {
|
||||
"enabled": true,
|
||||
"synchronizeTicker": true,
|
||||
"synchronizeOrderbook": true,
|
||||
"synchronizeTrades": true,
|
||||
"synchronizeContinuously": true,
|
||||
"timeoutREST": 15000000000,
|
||||
"timeoutWebsocket": 60000000000,
|
||||
"numWorkers": 15,
|
||||
"fiatDisplayCurrency": "USD",
|
||||
"pairFormatDisplay": {
|
||||
"uppercase": true,
|
||||
"delimiter": "-"
|
||||
},
|
||||
"verbose": false,
|
||||
"logSyncUpdateEvents": true,
|
||||
"logSwitchProtocolEvents": true,
|
||||
"logInitialSyncEvents": true
|
||||
},
|
||||
"connectionMonitor": {
|
||||
"preferredDNSList": [
|
||||
"8.8.8.8",
|
||||
|
||||
Reference in New Issue
Block a user