Mercurial > prosody-hg
annotate plugins/mod_compression.lua @ 9450:b890ceb1c24f
util.poll: Increase max epoll events per call
This makes the struct roughly the same size in both epoll and select
mode (64bit).
There doesn’t seem to be much guidance on an appropriate size, it does
not seem to matter too much since if there are more events they will
simply show up in the next epoll_wait call. The number of exactly
concurrent events should be fairly low most of the time anyways.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Mon, 08 Oct 2018 15:33:15 +0200 |
| parents | ad3dce172b01 |
| children |
| rev | line source |
|---|---|
|
1669
b8eec163a823
Commit initial version of mod_compression.
Tobias Markmann <tm@ayena.de>
parents:
diff
changeset
|
1 -- Prosody IM |
|
7349
ad3dce172b01
mod_compression: Remove and replace with placeholder that logs an error
Matthew Wild <mwild1@gmail.com>
parents:
6984
diff
changeset
|
2 -- Copyright (C) 2016 Matthew Wild |
|
5776
bd0ff8ae98a8
Remove all trailing whitespace
Florian Zeitz <florob@babelmonkeys.de>
parents:
5535
diff
changeset
|
3 -- |
|
1669
b8eec163a823
Commit initial version of mod_compression.
Tobias Markmann <tm@ayena.de>
parents:
diff
changeset
|
4 -- This project is MIT/X11 licensed. Please see the |
|
b8eec163a823
Commit initial version of mod_compression.
Tobias Markmann <tm@ayena.de>
parents:
diff
changeset
|
5 -- COPYING file in the source package for more information. |
|
b8eec163a823
Commit initial version of mod_compression.
Tobias Markmann <tm@ayena.de>
parents:
diff
changeset
|
6 -- |
|
b8eec163a823
Commit initial version of mod_compression.
Tobias Markmann <tm@ayena.de>
parents:
diff
changeset
|
7 |
|
7349
ad3dce172b01
mod_compression: Remove and replace with placeholder that logs an error
Matthew Wild <mwild1@gmail.com>
parents:
6984
diff
changeset
|
8 -- COMPAT w/ pre-0.10 configs |
|
ad3dce172b01
mod_compression: Remove and replace with placeholder that logs an error
Matthew Wild <mwild1@gmail.com>
parents:
6984
diff
changeset
|
9 error("mod_compression has been removed in Prosody 0.10+. Please see https://prosody.im/doc/modules/mod_compression for more information."); |
