(trunk libT) #2854 "`tracker did not respond' errors" -- lengthen the time we wait before timing out. This was shortened not too many releases ago to prevent a logjam from dead tpb tracker announces; however, we now have better ways of doing that and the short deadline may be contributing to the "did not respond" errors.
This commit is contained in:
parent
94517feeeb
commit
8b3fb8a5e8
|
@ -293,8 +293,8 @@ getCurlProxyType( tr_proxy_type t )
|
||||||
static int
|
static int
|
||||||
getTimeoutFromURL( const char * url )
|
getTimeoutFromURL( const char * url )
|
||||||
{
|
{
|
||||||
if( strstr( url, "scrape" ) != NULL ) return 20;
|
if( strstr( url, "scrape" ) != NULL ) return 30;
|
||||||
if( strstr( url, "announce" ) != NULL ) return 60;
|
if( strstr( url, "announce" ) != NULL ) return 120;
|
||||||
return 240;
|
return 240;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue