mirror of
https://github.com/matrix-construct/construct
synced 2024-06-07 12:38:56 +02:00
ircd:Ⓜ️:dbs: Bound compaction of _room_head within 24h.
This commit is contained in:
parent
6968f24921
commit
c32e5c92ab
|
@ -125,6 +125,15 @@ ircd::m::dbs::desc::room_head
|
|||
|
||||
// compaction priority algorithm
|
||||
"kByCompensatedSize"s,
|
||||
|
||||
// target file size
|
||||
{},
|
||||
|
||||
// max bytes for each level
|
||||
{},
|
||||
|
||||
// compaction_period
|
||||
60s * 60 * 24 * 1 // compact the room head every day.
|
||||
};
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue