prosody/conf.d/02-storage.cfg.lua
2016-10-18 20:20:59 +00:00

13 lines
247 B
Lua

default_storage = "sql"
sql = {
driver = "SQLite3";
database = "prosody.sqlite";
}
storage = {
-- this makes mod_mam use the sql storage backend
archive2 = "sql";
}
-- https://modules.prosody.im/mod_mam.html
archive_expires_after = "1y"