Skip to content
Snippets Groups Projects
Commit dc575b79 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Use Duration sleep

parent fb2eb845
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,7 @@ use std::io::{Read, Write};
use std::mem::size_of;
use std::sync::{Arc, Mutex};
use std::thread;
use std::time::Duration;
use cache::Cache;
use image::Image;
......@@ -70,7 +71,7 @@ fn main() {
Status::Stopping => break 'waiting,
}
thread::sleep_ms(30);
thread::sleep(Duration::new(0, 30000000));
}
} else {
println!("redoxfs: no disk image provided");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment