Skip to content

Commit

Permalink
Trying to optimize logs JS code
Browse files Browse the repository at this point in the history
  • Loading branch information
ikatson committed Dec 9, 2023
1 parent 2603b20 commit 98d6a6f
Show file tree
Hide file tree
Showing 11 changed files with 3,099 additions and 2,988 deletions.
6 changes: 3 additions & 3 deletions crates/librqbit/src/torrent_state/live/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -837,10 +837,10 @@ impl<'a> PeerConnectionHandler for &'a PeerHandler {
}
Message::Have(h) => self.on_have(h),
Message::NotInterested => {
debug!("received \"not interested\", but we don't process it yet")
trace!("received \"not interested\", but we don't process it yet")
}
Message::Cancel(_) => {
debug!("received \"cancel\", but we don't process it yet")
trace!("received \"cancel\", but we don't process it yet")
}
message => {
warn!("received unsupported message {:?}, ignoring", message);
Expand Down Expand Up @@ -1306,7 +1306,7 @@ impl PeerHandler {
}

fn on_i_am_unchoked(&self) {
debug!("we are unchoked");
trace!("we are unchoked");
self.locked.write().i_am_choked = false;
self.unchoke_notify.notify_waiters();
self.requests_sem.add_permits(16);
Expand Down
20 changes: 10 additions & 10 deletions crates/librqbit/webui/dist/assets/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion crates/librqbit/webui/dist/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"src": "assets/logo.svg"
},
"index.html": {
"file": "assets/index-050cef91.js",
"file": "assets/index-b02909de.js",
"isEntry": true,
"src": "index.html"
}
Expand Down
Loading

0 comments on commit 98d6a6f

Please sign in to comment.