Remove websocket rate limit

This commit is contained in:
2023-11-05 13:42:23 +01:00
parent 362534384a
commit b8e05e33a6

View File

@ -53,7 +53,6 @@ pub async fn lights_task(state: &State) {
loop {
let notify = bulb_states.notify_on_change();
sleep(tokio::time::Duration::from_millis(1000 / 10)).await; // limit to 10 updates/second
select! {
_ = notify => {
let lights_state = lights_state.get();