Software /
code /
prosody
Comparison
prosody.cfg.lua.dist @ 11581:7e111f7147dc
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?
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 24 May 2021 01:34:01 +0200 |
parent | 11572:e06dba5e99b9 |
child | 12276:7c5e6ad3d778 |
comparison
equal
deleted
inserted
replaced
11580:9ad5ec65132d | 11581:7e111f7147dc |
---|---|
21 -- for the server. Note that you must create the accounts separately | 21 -- for the server. Note that you must create the accounts separately |
22 -- (see https://prosody.im/doc/creating_accounts for info) | 22 -- (see https://prosody.im/doc/creating_accounts for info) |
23 -- Example: admins = { "user1@example.com", "user2@example.net" } | 23 -- Example: admins = { "user1@example.com", "user2@example.net" } |
24 admins = { } | 24 admins = { } |
25 | 25 |
26 -- Enable use of libevent for better performance under high load | 26 -- Prosody includes several alternative modules for keeping track of network connections. |
27 -- For more information see: https://prosody.im/doc/libevent | 27 -- For more information see: https://prosody.im/doc/network_backend |
28 --use_libevent = true | 28 --network_backend = "epoll" |
29 | 29 |
30 -- Prosody will always look in its source directory for modules, but | 30 -- Prosody will always look in its source directory for modules, but |
31 -- this option allows you to specify additional locations where Prosody | 31 -- this option allows you to specify additional locations where Prosody |
32 -- will look for modules first. For community modules, see https://modules.prosody.im/ | 32 -- will look for modules first. For community modules, see https://modules.prosody.im/ |
33 --plugin_paths = {} | 33 --plugin_paths = {} |