From a16fd6b4ac52b6fae1caf065405a71d1892a47ce Mon Sep 17 00:00:00 2001 From: Yuri Astrakhan Date: Wed, 10 Jul 2024 22:00:11 -0400 Subject: [PATCH] Minor lints --- docs/src/config-file.md | 1 - mbtiles/src/bindiff.rs | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/src/config-file.md b/docs/src/config-file.md index 2468893a4..fcdcf7b1f 100644 --- a/docs/src/config-file.md +++ b/docs/src/config-file.md @@ -26,7 +26,6 @@ keep_alive: 75 # The socket address to bind [default: 0.0.0.0:3000] listen_addresses: '0.0.0.0:3000' - # Set TileJSON URL path prefix, ignoring X-Rewrite-URL header. Must begin with a `/` base_path: /tiles diff --git a/mbtiles/src/bindiff.rs b/mbtiles/src/bindiff.rs index 0ba3f33b7..2526484b4 100644 --- a/mbtiles/src/bindiff.rs +++ b/mbtiles/src/bindiff.rs @@ -133,7 +133,9 @@ fn start_processor_threads, has_errors: Arc, ) { - (0..num_cpus::get()).for_each(|_| { + let cpus = num_cpus::get(); + info!("Processing bindiff patches using {cpus} threads..."); + (0..cpus).for_each(|_| { let rx_wrk = rx_wrk.clone(); let tx_ins = tx_ins.clone(); let has_errors = has_errors.clone();