Commit d5f37204 authored by Alex Chau's avatar Alex Chau Committed by Commit Bot

Decrease time_to_live of click to call messages

- Make time_to_live shorter than send timeout to avoid false send error

Bug: 987175
Change-Id: I9a67820f90ee43681eb1ea6e6b07d6fb7443b890
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1715494
Commit-Queue: Alex Chau <alexchau@chromium.org>
Reviewed-by: default avatarMichael van Ouwerkerk <mvanouwerkerk@chromium.org>
Reviewed-by: default avatarRichard Knoll <knollr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#680432}
parent 56c0a53e
...@@ -8,9 +8,8 @@ ...@@ -8,9 +8,8 @@
#include "base/time/time.h" #include "base/time/time.h"
// Time limit for click to call message expiration. // Time limit for click to call message expiration.
// TODO(yasmo): Confirm this value with the team.
constexpr base::TimeDelta kSharingClickToCallMessageTTL = constexpr base::TimeDelta kSharingClickToCallMessageTTL =
base::TimeDelta::FromMinutes(10); base::TimeDelta::FromSeconds(10);
// Maximum number of devices to be shown in dialog and context menu. // Maximum number of devices to be shown in dialog and context menu.
constexpr int kMaxDevicesShown = 10; constexpr int kMaxDevicesShown = 10;
......
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