stalwart-mail: build against system jemalloc [second try] (#411265)

This commit is contained in:
Yt 2025-05-31 18:07:15 -04:00 committed by GitHub
commit 24b70d6579
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 37 additions and 3 deletions

View file

@ -48,9 +48,20 @@ in
session.auth.directory = "'in-memory'";
storage.directory = "in-memory";
storage.data = "rocksdb";
storage.fts = "rocksdb";
storage.blob = "rocksdb";
storage.lookup = "rocksdb";
session.rcpt.directory = "'in-memory'";
queue.outbound.next-hop = "'local'";
store."rocksdb" = {
type = "rocksdb";
path = "/var/lib/stalwart-mail/data";
compression = "lz4";
};
directory."in-memory" = {
type = "memory";
principals = [
@ -116,6 +127,12 @@ in
main.wait_for_open_port(143)
main.succeed("test-smtp-submission")
# restart stalwart to test rocksdb compaction of existing database
main.succeed("systemctl restart stalwart-mail.service")
main.wait_for_open_port(587)
main.wait_for_open_port(143)
main.succeed("test-imap-read")
'';