alpha
Login
or
Join now
microcosm.blue
/
microcosm-rs
Star
0
Fork
3
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Constellation, Spacedust, Slingshot, UFOs: atproto crates and services for microcosm
Star
0
Fork
3
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
log a reasonable amount
author
phil
date
10 months ago
(Aug 16, 2025, 1:31 PM -0400)
commit
4b462c82
4b462c828ecca4a8d42ca1ab175ce56de1f6e3c8
parent
877c0975
877c09750ec0805f1ae2f2f3fc8956a2857efb76
+2
-2
1 changed file
Expand all
Collapse all
Unified
Split
ufos
src
storage_fjall.rs
+2
-2
ufos/src/storage_fjall.rs
Reviewed
···
1398
1398
log::warn!("loading *all* record keys from feed into memory (yikes)");
1399
1399
let t0 = Instant::now();
1400
1400
for (i, kv) in self.feeds.iter().enumerate() {
1401
1401
-
if i > 0 && (i % 100000 == 0) {
1401
1401
+
if i > 0 && (i % 10_000_000 == 0) {
1402
1402
log::info!("{i}...");
1403
1403
}
1404
1404
let (key_bytes, val_bytes) = kv?;
···
1423
1423
self.records.remove(key_bytes)?;
1424
1424
removed += 1;
1425
1425
}
1426
1426
-
if i > 0 && (i % 10_000_000) == 0 {
1426
1426
+
if i > 0 && (i % 100_000_000) == 0 {
1427
1427
log::info!("{i}: {retained} retained, {removed} removed.");
1428
1428
}
1429
1429
}