Skip to content

Commit

Permalink
Add span to refresh function
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaseizinger committed Mar 14, 2024
1 parent a86fdfe commit 0f4e2f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rust/connlib/snownet/src/allocation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ impl Allocation {
/// Refresh this allocation.
///
/// In case refreshing the allocation fails, we will attempt to make a new one.
#[tracing::instrument(level = "debug", skip_all, fields(relay = %self.server))]
pub fn refresh(&mut self, now: Instant) {
self.update_now(now);

Expand Down

0 comments on commit 0f4e2f0

Please sign in to comment.