tangled
alpha
login
or
join now
ptr.pet
/
Allegedly
forked from
microcosm.blue/Allegedly
0
fork
atom
Server tools to backfill, tail, mirror, and verify PLC logs
0
fork
atom
overview
issues
pulls
pipelines
add fjall to --no-bulk
ptr.pet
2 weeks ago
f2df0907
80f4e98c
verified
This commit was signed with the committer's
known signature
.
ptr.pet
SSH Key Fingerprint:
SHA256:Abmvag+juovVufZTxyWY8KcVgrznxvBjQpJesv071Aw=
+9
-1
1 changed file
expand all
collapse all
unified
split
src
bin
backfill.rs
+9
-1
src/bin/backfill.rs
···
118
118
let throttle = Duration::from_millis(upstream_throttle_ms);
119
119
tasks.spawn(poll_upstream(None, upstream, throttle, poll_tx));
120
120
tasks.spawn(full_pages(poll_out, full_tx));
121
121
-
tasks.spawn(pages_to_stdout(full_out, None));
121
121
+
if let Some(fjall_path) = to_fjall {
122
122
+
log::trace!("opening fjall db at {fjall_path:?}...");
123
123
+
let db = FjallDb::open(&fjall_path)?;
124
124
+
log::trace!("opened fjall db");
125
125
+
126
126
+
tasks.spawn(pages_to_fjall(db, full_out));
127
127
+
} else {
128
128
+
tasks.spawn(pages_to_stdout(full_out, None));
129
129
+
}
122
130
} else {
123
131
// fun mode
124
132