mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:47:35 +00:00
RequestServer: Bump the ConnectionCache concurrent connection limit to 4
With ECDHE, our TLS handshake performance has increased, so we can afford to bump this limit to 4, and get some faster loads :^)
This commit is contained in:
parent
cd4c11ebaf
commit
ce057115fc
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue