Increased request memory pool size.

Previous value was too small, which reduced efficiency of the pool causing
a lot of additional allocations even for simple request and response.
This commit is contained in:
Valentin Bartenev
2020-10-26 22:26:02 +03:00
parent 84136eb49d
commit 434c3228d9

View File

@@ -220,7 +220,7 @@ nxt_http_request_create(nxt_task_t *task)
nxt_buf_t *last; nxt_buf_t *last;
nxt_http_request_t *r; nxt_http_request_t *r;
mp = nxt_mp_create(1024, 128, 256, 32); mp = nxt_mp_create(4096, 128, 512, 32);
if (nxt_slow_path(mp == NULL)) { if (nxt_slow_path(mp == NULL)) {
return NULL; return NULL;
} }