comparison src/http/ngx_http_script.c @ 7950:e3dbd9449b14

Changed default value of sendfile_max_chunk to 2m. The "sendfile_max_chunk" directive is important to prevent worker monopolization by fast connections. The 2m value implies maximum 200ms delay with 100 Mbps links, 20ms delay with 1 Gbps links, and 2ms on 10 Gbps links. It also seems to be a good value for disks.
author Maxim Dounin <mdounin@mdounin.ru>
date Fri, 29 Oct 2021 20:21:57 +0300
parents 3ab8e1e2f0f7
children d26db4f82d7d
comparison
equal deleted inserted replaced
7949:862f6130d357 7950:e3dbd9449b14