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): disable write buffer always
ptr.pet
7 months ago
e77f32a4
109a2f6c
verified
This commit was signed with the committer's
known signature
.
ptr.pet
SSH Key Fingerprint:
SHA256:Abmvag+juovVufZTxyWY8KcVgrznxvBjQpJesv071Aw=
+4
-1
1 changed file
expand all
collapse all
unified
split
server
src
db
mod.rs
+4
-1
server/src/db/mod.rs
···
5
5
ops::{Bound, Deref, RangeBounds},
6
6
path::Path,
7
7
time::Duration,
8
8
+
u64,
8
9
};
9
10
10
11
use byteview::StrView;
···
97
98
impl Default for DbConfig {
98
99
fn default() -> Self {
99
100
Self {
100
100
-
ks_config: fjall::Config::default().cache_size(1024 * 1024 * 512),
101
101
+
ks_config: fjall::Config::default()
102
102
+
.cache_size(1024 * 1024 * 512)
103
103
+
.max_write_buffer_size(u64::MAX),
101
104
min_block_size: 1000,
102
105
max_block_size: 250_000,
103
106
max_last_activity: Duration::from_secs(10),