Skip to content

Commit

Permalink
Log spurious events as debug
Browse files Browse the repository at this point in the history
Spurious events are frequent on Windows. This is the expected behavior,
so there is no need to warn.
  • Loading branch information
rom1v committed Aug 15, 2017
1 parent 698a1d4 commit 7e01f2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rustrelay/src/relay/relay.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ impl Relay {
tunnel_server.borrow_mut().clean_up(selector);
next_cleaning_deadline = now + CLEANING_INTERVAL_SECONDS;
} else if events.is_empty() {
warn!(target: TAG, "spurious wakeup: poll() returned without any event");
debug!(target: TAG, "Spurious wakeup: poll() returned without any event");
continue;
}

Expand Down

0 comments on commit 7e01f2d

Please sign in to comment.