Commit 1d117fc8 authored by Varun Khaneja's avatar Varun Khaneja Committed by Commit Bot

Lower the timeout duration for real time URL check requests

This would reduce the time a user has to wait for the initial few page
loads to proceed if they can't reach the Safe Browsing backend.

Bug: 963165
Change-Id: Ie90f41b129208b04fd19614192ee79030b9a9f83
Fixed: 1032317
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1961083
Commit-Queue: Varun Khaneja <vakh@chromium.org>
Commit-Queue: Bettina Dea <bdea@chromium.org>
Auto-Submit: Varun Khaneja <vakh@chromium.org>
Reviewed-by: default avatarBettina Dea <bdea@chromium.org>
Cr-Commit-Position: refs/heads/master@{#723637}
parent 7b6604be
...@@ -31,7 +31,7 @@ const size_t kMaxFailuresToEnforceBackoff = 3; ...@@ -31,7 +31,7 @@ const size_t kMaxFailuresToEnforceBackoff = 3;
const size_t kBackOffResetDurationInSeconds = 5 * 60; // 5 minutes. const size_t kBackOffResetDurationInSeconds = 5 * 60; // 5 minutes.
const size_t kURLLookupTimeoutDurationInSeconds = 1 * 60; // 1 minute. const size_t kURLLookupTimeoutDurationInSeconds = 10; // 10 seconds.
// Fragements, usernames and passwords are removed, becuase fragments are only // Fragements, usernames and passwords are removed, becuase fragments are only
// used for local navigations and usernames/passwords are too privacy sensitive. // used for local navigations and usernames/passwords are too privacy sensitive.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment