mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-15 21:26:50 +00:00
Move auth_chain cache to db.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
7b22e7930a
commit
afcb2315ee
4 files changed
+87
-149
No files matched your search
+13
-1
@@ -34,6 +34,15 @@ pub(super) static MAPS: &[Descriptor] = &[
|
||||
name: "aliasid_alias",
|
||||
..descriptor::RANDOM_SMALL
|
||||
},
|
||||
Descriptor {
|
||||
name: "authchainkey_authchain",
|
||||
cache_disp: CacheDisp::SharedWith("shorteventid_authchain"),
|
||||
index_size: 512,
|
||||
block_size: 4096,
|
||||
key_size_hint: Some(8),
|
||||
val_size_hint: Some(1024),
|
||||
..descriptor::RANDOM_CACHE
|
||||
},
|
||||
Descriptor {
|
||||
name: "backupid_algorithm",
|
||||
..descriptor::RANDOM_SMALL
|
||||
@@ -279,8 +288,11 @@ pub(super) static MAPS: &[Descriptor] = &[
|
||||
},
|
||||
Descriptor {
|
||||
name: "shorteventid_authchain",
|
||||
cache_disp: CacheDisp::Unique,
|
||||
cache_disp: CacheDisp::SharedWith("authchainkey_authchain"),
|
||||
key_size_hint: Some(8),
|
||||
val_size_hint: Some(1024),
|
||||
index_size: 512,
|
||||
block_size: 4096,
|
||||
..descriptor::SEQUENTIAL
|
||||
},
|
||||
Descriptor {
|
||||
|
||||
Reference in new issue
Block a user