]> git.bitcoin.ninja Git - dnsseed-rust/commitdiff
Keep more log lines in case of giant terminals
authorMatt Corallo <git@bluematt.me>
Tue, 13 Jul 2021 16:18:27 +0000 (16:18 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 14 Jul 2021 20:44:36 +0000 (20:44 +0000)
src/printer.rs

index c20b925e7f5f83d14316ca9d4a31926dc4c5e9dd..d9cf3752aed96dc3c4e4f4a2e8cef63bf7ab5de6 100644 (file)
@@ -131,7 +131,7 @@ impl Printer {
                } else {
                        stats.lines.push_back(line);
                }
-               if stats.lines.len() > 75 {
+               if stats.lines.len() > 150 {
                        stats.lines.pop_front();
                }
        }