aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_epoll.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-12-02 01:14:55 +0100
committerKim Alvefur <zash@zash.se>2021-12-02 01:14:55 +0100
commita3ea469ed9ebeab2c4db54712f0b8ace3f28e15f (patch)
tree73afa5f5b01ce5511adea6f669f1e707ae2fcb1e /net/server_epoll.lua
parent5797a3f65dd0ae2c8393b6992522fcfb34be2fc5 (diff)
downloadprosody-a3ea469ed9ebeab2c4db54712f0b8ace3f28e15f.tar.gz
prosody-a3ea469ed9ebeab2c4db54712f0b8ace3f28e15f.zip
util.id: Adjust entropy levels, with rationales
Modules using ids for logging should not need the now pretty large medium one.
Diffstat (limited to 'net/server_epoll.lua')
-rw-r--r--net/server_epoll.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server_epoll.lua b/net/server_epoll.lua
index f61c204c..faa6a1b5 100644
--- a/net/server_epoll.lua
+++ b/net/server_epoll.lua
@@ -26,7 +26,7 @@ local createtable = require "util.table".create;
local inet = require "util.net";
local inet_pton = inet.pton;
local _SOCKETINVALID = socket._SOCKETINVALID or -1;
-local new_id = require "util.id".medium;
+local new_id = require "util.id".short;
local xpcall = require "util.xpcall".xpcall;
local poller = require "util.poll"