Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1171)

Side by Side Diff: net/quic/quic_flags.cc

Issue 968323002: Deprecate FLAGS_quic_limit_time_wait_list_size. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_dead_code_86999211
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/quic/quic_flags.h ('k') | net/quic/quic_time_wait_list_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/quic/quic_flags.h" 5 #include "net/quic/quic_flags.h"
6 6
7 bool FLAGS_quic_allow_oversized_packets_for_test = false; 7 bool FLAGS_quic_allow_oversized_packets_for_test = false;
8 8
9 // When true, the use time based loss detection instead of nack. 9 // When true, the use time based loss detection instead of nack.
10 bool FLAGS_quic_use_time_loss_detection = false; 10 bool FLAGS_quic_use_time_loss_detection = false;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 // Currently, this number is quite conservative. The max QPS limit for an 45 // Currently, this number is quite conservative. The max QPS limit for an
46 // individual server silo is currently set to 1000 qps, though the actual max 46 // individual server silo is currently set to 1000 qps, though the actual max
47 // that we see in the wild is closer to 450 qps. Regardless, this means that the 47 // that we see in the wild is closer to 450 qps. Regardless, this means that the
48 // longest time-wait list we should see is 5 seconds * 1000 qps = 5000. If we 48 // longest time-wait list we should see is 5 seconds * 1000 qps = 5000. If we
49 // allow for an order of magnitude leeway, we have 50000. 49 // allow for an order of magnitude leeway, we have 50000.
50 // 50 //
51 // Maximum number of connections on the time-wait list. A negative value implies 51 // Maximum number of connections on the time-wait list. A negative value implies
52 // no configured limit. 52 // no configured limit.
53 int64 FLAGS_quic_time_wait_list_max_connections = 50000; 53 int64 FLAGS_quic_time_wait_list_max_connections = 50000;
54 54
55 // If true, limit the number of connections on the quic time-wait list using a
56 // flag.
57 bool FLAGS_quic_limit_time_wait_list_size = true;
58
59 // Use small QUIC packet sizes by default. 55 // Use small QUIC packet sizes by default.
60 bool FLAGS_quic_small_default_packet_size = true; 56 bool FLAGS_quic_small_default_packet_size = true;
OLDNEW
« no previous file with comments | « net/quic/quic_flags.h ('k') | net/quic/quic_time_wait_list_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698