Advertisement
Guest User

Untitled

a guest
Dec 16th, 2019
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. from https://github.com/processone/ejabberd/blob/master/src/mod_mam.erl
  2.  
  3. start(Host, Opts) ->
  4. case mod_mam_opt:db_type(Opts) of
  5. mnesia ->
  6. ?WARNING_MSG("Mnesia backend for ~ts is not recommended: "
  7. "it's limited to 2GB and often gets corrupted "
  8. "when reaching this limit. SQL backend is "
  9. "recommended. Namely, for small servers SQLite "
  10. "is a preferred choice because it's very easy "
  11. "to configure.", [?MODULE]);
  12. _ ->
  13. ok
  14. end,
  15.  
  16.  
  17. but
  18.  
  19. [critical] <0.107.0>@ejabberd_app:start:71 Failed to start ejabberd application: Invalid value of option modules->mod_mam->db_type: unsupported database: sqlite
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement