Commit 3eec1dbc authored by Stefan Schindler's avatar Stefan Schindler
Browse files

Increase Buffer SizIncrease Buffer Size

parent 2f4820b4
...@@ -21,7 +21,7 @@ lazy_static! { ...@@ -21,7 +21,7 @@ lazy_static! {
static ref HEADING: Style = Yellow.bold(); static ref HEADING: Style = Yellow.bold();
} }
const WRITE_BUFFER_SIZE: usize = 4096; const WRITE_BUFFER_SIZE: usize = 4 * 1024 * 1024;
fn main() { fn main() {
let model = get_file_contents("/sys/devices/virtual/dmi/id/product_version"); let model = get_file_contents("/sys/devices/virtual/dmi/id/product_version");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment