Decrease poll duration again
This commit is contained in:
parent
36e1dbfa59
commit
27769d38d2
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ pub struct Ui {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Ui {
|
impl Ui {
|
||||||
const POLL_DURATION: Duration = Duration::from_millis(500);
|
const POLL_DURATION: Duration = Duration::from_millis(100);
|
||||||
|
|
||||||
pub async fn run(terminal: &mut Terminal) -> anyhow::Result<()> {
|
pub async fn run(terminal: &mut Terminal) -> anyhow::Result<()> {
|
||||||
let (event_tx, event_rx) = mpsc::unbounded_channel();
|
let (event_tx, event_rx) = mpsc::unbounded_channel();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue