mirror of
https://github.com/domcyrus/rustnet.git
synced 2026-01-13 01:39:47 -06:00
fix: Update TUI data more frequently
This commit is contained in:
@@ -114,7 +114,7 @@ impl App {
|
||||
// Sleep to avoid high CPU usage
|
||||
drop(connections);
|
||||
drop(monitor);
|
||||
thread::sleep(std::time::Duration::from_millis(1000));
|
||||
thread::sleep(std::time::Duration::from_millis(250)); // Update data more frequently
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user