mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
enable the SRS_PERF_TCP_NODELAY and add config tcp_nodelay. 2.0.182
This commit is contained in:
parent
267846a3fa
commit
9fb4640a8f
9 changed files with 44 additions and 12 deletions
|
@ -851,6 +851,10 @@ vhost min.delay.com {
|
|||
# drop the old whole gop.
|
||||
# default: 30
|
||||
queue_length 10;
|
||||
# whether enable the TCP_NODELAY
|
||||
# if on, set the nodelay of fd by setsockopt
|
||||
# default: off
|
||||
tcp_nodelay on;
|
||||
}
|
||||
|
||||
# the vhost for antisuck.
|
||||
|
|
|
@ -12,4 +12,5 @@ vhost __defaultVhost__ {
|
|||
enabled off;
|
||||
}
|
||||
mw_latency 100;
|
||||
tcp_nodelay on;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue