From 2610062f9afe3f94629d212aa477ddaf8794c6b5 Mon Sep 17 00:00:00 2001 From: Alexandr Date: Sun, 3 Nov 2024 18:05:21 +0200 Subject: [PATCH 1/2] chore: add missing comment for init progress bar function --- src/app.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app.rs b/src/app.rs index d5b8718..7c97149 100644 --- a/src/app.rs +++ b/src/app.rs @@ -147,6 +147,7 @@ impl DnsBenchApplication { self.multi_progress = Some(multi_progress); } + /// Initialize a progress bar. fn init_progress_bar(requests_count: u64) -> ProgressBar { let progress_bar = ProgressBar::new(requests_count); From f553b3c867749eb8448379b5b1b4011f109ecfc0 Mon Sep 17 00:00:00 2001 From: Alexandr Date: Sun, 3 Nov 2024 18:08:05 +0200 Subject: [PATCH 2/2] docs: Fix default requests count in features section of readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5877a7a..a70ef74 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ This repository provides DNS benchmarking command line tool written in Rust. It ### Features - Built-in list of public DNS servers. -- Requests count configuration. By default, 10 requests are made to each DNS server. +- Requests count configuration. By default, 25 requests are made to each DNS server. - Threads count configuration. By default, 8 threads are used. - Timeout configuration. By default, 3 seconds timeout is used. - Domain configuration. By default, google.com domain is used.