aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index af1eea7..992748c 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,6 +1,6 @@
use std::{
sync::{Arc, Mutex},
- time::Duration,
+ time::Duration, thread::sleep,
};
use pausable_clock::{PausableClock, PausableInstant};
@@ -164,5 +164,6 @@ async fn main() -> Result<()> {
.await?;
loop {
pomd.lock().unwrap().update();
+ sleep(Duration::from_millis(100));
}
}