upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/sync/metrics.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/sync/metrics.rs')
-rw-r--r--src/sync/metrics.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sync/metrics.rs b/src/sync/metrics.rs
index d917dc0..c3bebfc 100644
--- a/src/sync/metrics.rs
+++ b/src/sync/metrics.rs
@@ -154,6 +154,7 @@ impl SyncMetrics {
154 self.connection_attempts_total 154 self.connection_attempts_total
155 .with_label_values(&[relay, result]) 155 .with_label_values(&[relay, result])
156 .inc(); 156 .inc();
157 self.set_relay_connected(relay, success);
157 } 158 }
158 159
159 /// Set relay connection status. 160 /// Set relay connection status.