prosody/conf.d/02-storage.cfg.lua
2018-01-13 23:35:19 +00:00

16 lines
376 B
Lua

default_storage = "sql"
sql = {
driver = "SQLite3";
database = "prosody.sqlite";
}
-- make 0.10-distributed mod_mam use sql store
archive_store = "archive2" -- Use the same data store as prosody-modules mod_mam
storage = {
-- this makes mod_mam use the sql storage backend
archive2 = "sql";
}
-- https://modules.prosody.im/mod_mam.html
archive_expires_after = "1y"