Refresh network status at 1 second interval.
This commit is contained in:
parent
6b2200d640
commit
6f6fd13b94
@ -156,7 +156,7 @@ impl Widget for NetworkSpeedWidget {
|
||||
rx, rx_history, tx, tx_history
|
||||
));
|
||||
return Some(WidgetUpdate {
|
||||
refresh_interval: std::time::Duration::new(10, 0),
|
||||
refresh_interval: std::time::Duration::new(1, 0),
|
||||
data: Some(data),
|
||||
});
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user