tracks lexicons and how many times they appeared on the jetstream

refactor(server): increase block size even more, reenable compression

ptr.pet b63273b4 bf2179a4

verified
Changed files
+2 -2
server
src
+2 -2
server/src/db/handle.rs
···
impl LexiconHandle {
pub fn new(keyspace: &Keyspace, nsid: &str) -> Self {
let opts = PartitionCreateOptions::default()
-
.block_size(1024 * 32)
-
.compression(fjall::CompressionType::None);
Self {
tree: keyspace.open_partition(nsid, opts).unwrap(),
nsid: nsid.into(),
···
impl LexiconHandle {
pub fn new(keyspace: &Keyspace, nsid: &str) -> Self {
let opts = PartitionCreateOptions::default()
+
.block_size(1024 * 128)
+
.compression(fjall::CompressionType::Miniz(9));
Self {
tree: keyspace.open_partition(nsid, opts).unwrap(),
nsid: nsid.into(),