save msg json zstd compressed (3x compression)

This commit is contained in:
2024-02-18 02:40:17 +01:00
parent fb885b5c21
commit 6f511016bc
5 changed files with 86 additions and 13 deletions

View File

@@ -154,6 +154,8 @@ void MessageFragmentStore::handleMessage(const Message3Handle& m) {
fragment_uid = fh.get<FragComp::ID>().v;
fh.emplace_or_replace<FragComp::DataCompressionType>().comp = Compression::ZSTD;
auto& new_ts_range = fh.emplace<FragComp::MessagesTSRange>();
new_ts_range.begin = msg_ts;
new_ts_range.end = msg_ts;