prosody.cfg.lua.dist: Replace use_libevent with network_backend
authorKim Alvefur <zash@zash.se>
Mon, 24 May 2021 01:34:01 +0200
changeset 11585 7e111f7147dc
parent 11584 9ad5ec65132d
child 11586 a3d48204ec95
prosody.cfg.lua.dist: Replace use_libevent with network_backend Since there are more than two choices now. Hard to describe this choice in just one line. Maybe this whole block should go away?
prosody.cfg.lua.dist
--- a/prosody.cfg.lua.dist	Fri May 21 19:04:01 2021 +0200
+++ b/prosody.cfg.lua.dist	Mon May 24 01:34:01 2021 +0200
@@ -23,9 +23,9 @@
 -- Example: admins = { "user1@example.com", "user2@example.net" }
 admins = { }
 
--- Enable use of libevent for better performance under high load
--- For more information see: https://prosody.im/doc/libevent
---use_libevent = true
+-- Prosody includes several alternative modules for keeping track of network connections.
+-- For more information see: https://prosody.im/doc/network_backend
+--network_backend = "epoll"
 
 -- Prosody will always look in its source directory for modules, but
 -- this option allows you to specify additional locations where Prosody