Comparison

net/server_epoll.lua @ 9663:1e63903d8a1e 0.11

server_epoll: Increase write timeout 7 may be too low for some slow machines and/or networks
author Kim Alvefur <zash@zash.se>
date Fri, 30 Nov 2018 18:11:36 +0100
parent 9573:57637247356d
child 9664:9e40ff07555c
comparison
equal deleted inserted replaced
9661:8154a8841bb2 9663:1e63903d8a1e
34 local _ENV = nil; 34 local _ENV = nil;
35 -- luacheck: std none 35 -- luacheck: std none
36 36
37 local default_config = { __index = { 37 local default_config = { __index = {
38 read_timeout = 14 * 60; 38 read_timeout = 14 * 60;
39 write_timeout = 7; 39 write_timeout = 60;
40 tcp_backlog = 128; 40 tcp_backlog = 128;
41 accept_retry_interval = 10; 41 accept_retry_interval = 10;
42 read_retry_delay = 1e-06; 42 read_retry_delay = 1e-06;
43 read_size = 8192; 43 read_size = 8192;
44 connect_timeout = 20; 44 connect_timeout = 20;