Tweak relay status

This commit is contained in:
Jon Staab
2026-04-01 16:05:15 -07:00
parent 3e131b6a1b
commit 7e0bd14ef3
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ impl Infra {
async fn catch_up(&self) -> Result<()> {
let relays = self.query.list_relays().await?;
for relay in relays {
if relay.status == "new" || (relay.sync_error != "" && relay.status != "inactive") {
if relay.synced == 0 && relay.sync_error.is_empty() {
let is_new = relay.synced == 0;
self.sync_and_report(&relay, is_new).await;
}