Skip to content

Commit

Permalink
Make code less shit
Browse files Browse the repository at this point in the history
  • Loading branch information
tazz4843 committed Nov 24, 2024
1 parent 844437e commit b02484c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripty_audio_handler/src/audio_handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,10 @@ impl AudioHandler {
loop {
tokio::select! {
val = rx.recv() => {
let Ok(()) = val else {
if val.is_err() {
debug!(%guild_id, "all tx handlers for this call dropped");
return;
};
}
debug!(%guild_id, "got request to reload config for this call");
}
_ = tokio::time::sleep(RELOAD_TIME) => {}
Expand Down

0 comments on commit b02484c

Please sign in to comment.