From 1cf4ebb231f2f7770b717a5e176d7bb5cbc66284 Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 8 Jul 2010 22:19:13 -0400 Subject: Added an epoll socket engine --- data/example.conf | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) (limited to 'data') diff --git a/data/example.conf b/data/example.conf index ce38541bf..d66e98611 100644 --- a/data/example.conf +++ b/data/example.conf @@ -287,11 +287,6 @@ options */ encryption = "enc_none enc_sha1 enc_sha256 enc_md5 enc_old" - /* - * The maximum length of passwords - */ - passlen = 32 - /* * The database modules are used for saving and loading databases for Anope. * @@ -303,6 +298,22 @@ options */ database = "db_plain" + /* + * The socket engine modules are used for managing connections to and from Anope + * + * Supported: + * - m_socketengine_select + * - m_socketengine_epoll + * + * We recommend using epoll if your operating system supports it. + */ + socketengine = "m_socketengine_epoll" + + /* + * The maximum length of passwords + */ + passlen = 32 + /* * These keys are used to initiate the random number generator. These numbers * MUST be random as you want your passcodes to be random. Don't give these -- cgit