mirror of
https://github.com/SaraSmiseth/prosody.git
synced 2025-01-18 13:10:37 +00:00
7c484beb14
* featuring Lua 5.2 * installing luaevent, luadbi, luadbi-sqlite3 using luarocks (omitting mysql & postgres to keep build small) * enabling new modules: vcard4, csi_simple, carbons, mam & muc_mam
17 lines
377 B
Lua
17 lines
377 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"
|
|
|