Skip to content

Commit

Permalink
Add some debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
sashacmc committed Jan 31, 2024
1 parent 7ce7830 commit 42cf252
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
uses: taiki-e/install-action@nextest

- name: Run tests
run: cargo nextest run --exclude zenoh-examples --exclude zenoh-plugin-example --workspace -- --nocapture
run: cargo nextest run --exclude zenoh-examples --exclude zenoh-plugin-example --workspace
env:
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
ASYNC_STD_THREAD_COUNT: 4
Expand Down
5 changes: 5 additions & 0 deletions zenoh/src/net/routing/interceptor/downsampling.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,17 @@ impl InterceptorFactoryTrait for DownsamplerInterceptor {
log::debug!("New transport unicast {:?}", transport);
if let Some(interface) = self.conf.interface.clone() {
log::debug!("New downsampler transport unicast interface: {}", interface);
print!("New downsampler transport unicast interface: {}", interface);
if let Ok(links) = transport.get_links() {
for link in links {
log::debug!(
"New downsampler transport unicast interfaces: {:?}",
link.interfaces
);
print!(
"New downsampler transport unicast interfaces: {:?}",
link.interfaces
);
if !link.interfaces.contains(&interface) {
return (None, None);
}
Expand Down

0 comments on commit 42cf252

Please sign in to comment.