Comparison

net/server_epoll.lua @ 12110:b5b799a2a10c

util.id: Adjust entropy levels, with rationales Modules using ids for logging should not need the now pretty large medium one.
author Kim Alvefur <zash@zash.se>
date Thu, 02 Dec 2021 01:14:55 +0100
parent 12091:7a48ccb084dd
child 12342:cba0b93320b7
comparison
equal deleted inserted replaced
12109:83bec90a352c 12110:b5b799a2a10c
24 local indexedbheap = require "util.indexedbheap"; 24 local indexedbheap = require "util.indexedbheap";
25 local createtable = require "util.table".create; 25 local createtable = require "util.table".create;
26 local inet = require "util.net"; 26 local inet = require "util.net";
27 local inet_pton = inet.pton; 27 local inet_pton = inet.pton;
28 local _SOCKETINVALID = socket._SOCKETINVALID or -1; 28 local _SOCKETINVALID = socket._SOCKETINVALID or -1;
29 local new_id = require "util.id".medium; 29 local new_id = require "util.id".short;
30 local xpcall = require "util.xpcall".xpcall; 30 local xpcall = require "util.xpcall".xpcall;
31 31
32 local poller = require "util.poll" 32 local poller = require "util.poll"
33 local EEXIST = poller.EEXIST; 33 local EEXIST = poller.EEXIST;
34 local ENOENT = poller.ENOENT; 34 local ENOENT = poller.ENOENT;