Increase buffer size to 1 << 16

Also improve camel case script
This commit is contained in:
2025-08-26 22:31:42 -04:00
parent dabead7d6b
commit b6e57f58af
2 changed files with 24 additions and 18 deletions

View File

@@ -152,11 +152,10 @@ struct HttpHandler : ConnectionHandler {
static int onMessageComplete(llhttp_t *parser);
private:
static constexpr int kFinalStageThreads = 2;
static constexpr int kLogSize = 12;
static constexpr int lg_size = 16;
StaticThreadPipeline<std::unique_ptr<Connection>,
WaitStrategy::WaitIfUpstreamIdle, 1, 2>
pipeline{kLogSize};
pipeline{lg_size};
std::thread stage0Thread;
std::vector<std::thread> finalStageThreads;