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
feat(server): more threads for fjall workers when migrating
ptr.pet
7 months ago
a10342d6
e7a40253
verified
This commit was signed with the committer's
known signature
.
ptr.pet
SSH Key Fingerprint:
SHA256:Abmvag+juovVufZTxyWY8KcVgrznxvBjQpJesv071Aw=
+3
-3
1 changed file
expand all
collapse all
unified
split
server
src
main.rs
+3
-3
server/src/main.rs
···
269
269
let to = Arc::new(
270
270
Db::new(
271
271
DbConfig::default().path(".fjall_data_to").ks(|c| {
272
272
-
c.max_journaling_size(1024 * 1024 * 1024 * 8)
272
272
+
c.max_journaling_size(u64::MAX)
273
273
.max_write_buffer_size(u64::MAX)
274
274
-
.compaction_workers(rayon::current_num_threads() * 2)
275
275
-
.flush_workers(rayon::current_num_threads() * 2)
274
274
+
.compaction_workers(rayon::current_num_threads() * 4)
275
275
+
.flush_workers(rayon::current_num_threads() * 4)
276
276
}),
277
277
cancel_token.child_token(),
278
278
)