Feature: User auth #15
|
@ -95,6 +95,7 @@ impl Update {
|
||||||
if receiver_count > 0 {
|
if receiver_count > 0 {
|
||||||
trace!(receiver_count = receiver_count, update = as_serde!(self); "sending update");
|
trace!(receiver_count = receiver_count, update = as_serde!(self); "sending update");
|
||||||
let count = tx.send(self.clone())?;
|
let count = tx.send(self.clone())?;
|
||||||
scott marked this conversation as resolved
|
|||||||
|
trace!(count = count; "update sent");
|
||||||
} else {
|
} else {
|
||||||
trace!("no update receivers, skipping message");
|
trace!("no update receivers, skipping message");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue
use count here