Skip to content

Commit

Permalink
Remove ThreadLocalBatchWriter
Browse files Browse the repository at this point in the history
Summary: Remove ThreadLocalBatchWriter since it's not being used.

Reviewed By: mjoras

Differential Revision: D50809221

fbshipit-source-id: 3754e64320518165654217b1e368429c69a944c5
  • Loading branch information
jbeshay authored and facebook-github-bot committed Nov 7, 2023
1 parent b071310 commit e0d4508
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions proxygen/httpserver/samples/hq/HQCommandLine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,6 @@ DEFINE_bool(early_data, false, "Whether to use 0-rtt");
DEFINE_uint32(quic_batching_mode,
static_cast<uint32_t>(quic::QuicBatchingMode::BATCHING_MODE_NONE),
"QUIC batching mode");
DEFINE_bool(quic_use_thread_local_batching, false, "Use thread local batching");
DEFINE_uint32(quic_thread_local_delay_us,
1000,
"Thread local delay in microseconds");
DEFINE_uint32(quic_batch_size,
quic::kDefaultQuicMaxBatchSize,
"Maximum number of packets that can be batched in Quic");
Expand Down Expand Up @@ -230,10 +226,6 @@ void initializeTransportSettings(HQToolParams& hqUberParams) {
}
hqParams.transportSettings.batchingMode =
quic::getQuicBatchingMode(FLAGS_quic_batching_mode);
hqParams.transportSettings.useThreadLocalBatching =
FLAGS_quic_use_thread_local_batching;
hqParams.transportSettings.threadLocalDelay =
std::chrono::microseconds(FLAGS_quic_thread_local_delay_us);
hqParams.transportSettings.maxBatchSize = FLAGS_quic_batch_size;
if (hqUberParams.mode == HQMode::CLIENT) {
// There is no good reason to keep the socket around for a drain period for
Expand Down

0 comments on commit e0d4508

Please sign in to comment.