increased initial 'tuning' timeout for http from 5 seconds to 20 seconds
This commit is contained in:
parent
f104564aa1
commit
54f7b75801
1 changed files with 2 additions and 2 deletions
|
@ -155,8 +155,8 @@ http_stream_run(http_connection_t *hc, streaming_queue_t *sq, th_subscription_t
|
|||
//Check socket status
|
||||
getsockopt(hc->hc_fd, SOL_SOCKET, SO_ERROR, (char *)&err, &errlen);
|
||||
|
||||
//Abort upon socket error, or after 5 seconds of silence
|
||||
if(err || timeouts > 4){
|
||||
//Abort upon socket error, or after 20 seconds of silence
|
||||
if(err || timeouts >= 20){
|
||||
run = 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue