diff options
author | Kim Alvefur <zash@zash.se> | 2021-12-02 01:14:55 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-12-02 01:14:55 +0100 |
commit | a3ea469ed9ebeab2c4db54712f0b8ace3f28e15f (patch) | |
tree | 73afa5f5b01ce5511adea6f669f1e707ae2fcb1e /net | |
parent | 5797a3f65dd0ae2c8393b6992522fcfb34be2fc5 (diff) | |
download | prosody-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')
-rw-r--r-- | net/server_epoll.lua | 2 | ||||
-rw-r--r-- | net/unbound.lua | 2 |
2 files changed, 2 insertions, 2 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" diff --git a/net/unbound.lua b/net/unbound.lua index 22b0614b..4a6f0241 100644 --- a/net/unbound.lua +++ b/net/unbound.lua @@ -18,7 +18,7 @@ local log = logger.init("unbound"); local net_server = require "net.server"; local libunbound = require"lunbound"; local promise = require"util.promise"; -local new_id = require "util.id".medium; +local new_id = require "util.id".short; local gettime = require"socket".gettime; local dns_utils = require"util.dns"; |