Sfoglia il codice sorgente

Sane multi user limits

Bob Mottram 8 anni fa
parent
commit
4de0d8d544
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2
    2
      src/freedombone-app-xmpp

+ 2
- 2
src/freedombone-app-xmpp Vedi File

@@ -402,8 +402,8 @@ function xmpp_create_config {
402 402
     echo 'muc_burst_factor = 10;' >> /etc/prosody/prosody.cfg.lua
403 403
     echo 'muc_log_by_default = false;' >> /etc/prosody/prosody.cfg.lua
404 404
     echo 'muc_log_all_rooms = false;' >> /etc/prosody/prosody.cfg.lua
405
-    echo 'max_archive_query_results = 100;' >> /etc/prosody/prosody.cfg.lua
406
-    echo 'max_history_messages = 1000000;' >> /etc/prosody/prosody.cfg.lua
405
+    echo 'max_archive_query_results = 10;' >> /etc/prosody/prosody.cfg.lua
406
+    echo 'max_history_messages = 10;' >> /etc/prosody/prosody.cfg.lua
407 407
 }
408 408
 
409 409
 function install_xmpp_main {