Browse Source
Log CFD timeout on start for debugging purposes
feature/force-stop-button
bonomat
3 years ago
No known key found for this signature in database
GPG Key ID: E5F8E74C672BC666
2 changed files with
8 additions and
0 deletions
-
daemon/src/maker.rs
-
daemon/src/taker.rs
|
|
@ -140,6 +140,10 @@ async fn main() -> Result<()> { |
|
|
|
|
|
|
|
logger::init(opts.log_level, opts.json).context("initialize logger")?; |
|
|
|
tracing::info!("Running version: {}", env!("VERGEN_GIT_SEMVER_LIGHTWEIGHT")); |
|
|
|
tracing::info!( |
|
|
|
"CFDs created with this release will settle after {} hours", |
|
|
|
SETTLEMENT_INTERVAL.whole_hours() |
|
|
|
); |
|
|
|
|
|
|
|
let data_dir = opts |
|
|
|
.data_dir |
|
|
|
|
|
@ -149,6 +149,10 @@ async fn main() -> Result<()> { |
|
|
|
|
|
|
|
logger::init(opts.log_level, opts.json).context("initialize logger")?; |
|
|
|
tracing::info!("Running version: {}", env!("VERGEN_GIT_SEMVER_LIGHTWEIGHT")); |
|
|
|
tracing::info!( |
|
|
|
"CFDs created with this release will settle after {} hours", |
|
|
|
SETTLEMENT_INTERVAL.whole_hours() |
|
|
|
); |
|
|
|
|
|
|
|
let data_dir = opts |
|
|
|
.data_dir |
|
|
|