1
0
Fork 0
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:
Charles Kerr 2022-09-01 15:11:51 -05:00 committed by GitHub
parent 6ca0ce683a
commit 3b692e1aa0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;