watchlist add: event only if inserted; adr 0015 jetstream/relay accuracy; drop vacuous assert
This commit is contained in:
@@ -38,7 +38,7 @@ impl EventRelaySink for FakeSink {
|
||||
}
|
||||
let outage = self
|
||||
.fail_first
|
||||
.fetch_update(
|
||||
.try_update(
|
||||
std::sync::atomic::Ordering::SeqCst,
|
||||
std::sync::atomic::Ordering::SeqCst,
|
||||
|n| n.checked_sub(1),
|
||||
|
||||
Reference in New Issue
Block a user