tangled
alpha
login
or
join now
ptr.pet
/
nsid-tracker
3
fork
atom
tracks lexicons and how many times they appeared on the jetstream
3
fork
atom
overview
issues
pulls
pipelines
fix(server): only push for sync if we have anything to sync
ptr.pet
7 months ago
d808716d
8bbc0246
verified
This commit was signed with the committer's
known signature
.
ptr.pet
SSH Key Fingerprint:
SHA256:Abmvag+juovVufZTxyWY8KcVgrznxvBjQpJesv071Aw=
+7
-5
1 changed file
expand all
collapse all
unified
split
server
src
db
mod.rs
+7
-5
server/src/db/mod.rs
···
193
193
}
194
194
}
195
195
let _span = handle.span().entered();
196
196
-
tracing::info!(
197
197
-
{blocks = %nsid_data.len(), count = %total_count},
198
198
-
"will encode & sync",
199
199
-
);
200
200
-
data.push(nsid_data);
196
196
+
if nsid_data.len() > 0 {
197
197
+
tracing::info!(
198
198
+
{blocks = %nsid_data.len(), count = %total_count},
199
199
+
"will encode & sync",
200
200
+
);
201
201
+
data.push(nsid_data);
202
202
+
}
201
203
}
202
204
drop(_guard);
203
205