Skip to content

Commit

Permalink
RequestServer: Bump the ConnectionCache concurrent connection limit to 4
Browse files Browse the repository at this point in the history
With ECDHE, our TLS handshake performance has increased, so we can
afford to bump this limit to 4, and get some faster loads :^)
  • Loading branch information
alimpfard committed Feb 18, 2022
1 parent cd4c11e commit ce05711
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Userland/Services/RequestServer/ConnectionCache.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ extern HashMap<ConnectionKey, NonnullOwnPtr<NonnullOwnPtrVector<Connection<TLS::
void request_did_finish(URL const&, Core::Stream::Socket const*);
void dump_jobs();

constexpr static size_t MaxConcurrentConnectionsPerURL = 2;
constexpr static size_t MaxConcurrentConnectionsPerURL = 4;
constexpr static size_t ConnectionKeepAliveTimeMilliseconds = 10'000;

template<typename T>
Expand Down

0 comments on commit ce05711

Please sign in to comment.