mirror of
https://github.com/transmission/transmission
synced 2024-12-29 11:06:23 +00:00
refactor: reduce http announce timeout interval to 45 seconds (#3745)
This commit is contained in:
parent
6ca0ce683a
commit
3b692e1aa0
1 changed files with 1 additions and 1 deletions
|
@ -425,7 +425,7 @@ void tr_tracker_http_announce(
|
||||||
auto url = tr_urlbuf{};
|
auto url = tr_urlbuf{};
|
||||||
announce_url_new(url, session, request);
|
announce_url_new(url, session, request);
|
||||||
auto options = tr_web::FetchOptions{ url.sv(), onAnnounceDone, d };
|
auto options = tr_web::FetchOptions{ url.sv(), onAnnounceDone, d };
|
||||||
options.timeout_secs = 90L;
|
options.timeout_secs = 45L;
|
||||||
options.sndbuf = 4096;
|
options.sndbuf = 4096;
|
||||||
options.rcvbuf = 4096;
|
options.rcvbuf = 4096;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue