prosody: use default network, remove libevent, config deprecated
`use_libevent` config option has been deprecated as there are 3 networking back-ends (see: https://prosody.im/doc/network_backend). It is probably unwise to stray from the defaults (epoll). Review instructed to flat-out remove it versus previously making it opt-in.
This commit is contained in:
parent
67b3f56ca9
commit
ccb0f87129
2 changed files with 0 additions and 5 deletions
|
@ -779,9 +779,6 @@ in
|
|||
|
||||
admins = ${toLua cfg.admins}
|
||||
|
||||
-- we already build with libevent, so we can just enable it for a more performant server
|
||||
use_libevent = true
|
||||
|
||||
modules_enabled = {
|
||||
|
||||
${ lib.concatStringsSep "\n " (lib.mapAttrsToList
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
, icu
|
||||
, lua
|
||||
, nixosTests
|
||||
, withLibevent ? true
|
||||
, withDBI ? true
|
||||
# use withExtraLibs to add additional dependencies of community modules
|
||||
, withExtraLibs ? [ ]
|
||||
|
@ -16,7 +15,6 @@ let
|
|||
luaEnv = lua.withPackages(p: with p; [
|
||||
luasocket luasec luaexpat luafilesystem luabitop luadbi-sqlite3 luaunbound
|
||||
]
|
||||
++ lib.optional withLibevent p.luaevent
|
||||
++ lib.optional withDBI p.luadbi
|
||||
++ withExtraLuaPackages p
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue