Skip to content

Commit

Permalink
Revert "less default worker, worker switch after 20 requests"
Browse files Browse the repository at this point in the history
This reverts commit 4917ca6.
  • Loading branch information
Stefan Eissing committed May 22, 2015
1 parent 27e947d commit 9de34ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions mod_h2/h2_conn.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ apr_status_t h2_conn_child_init(apr_pool_t *pool, server_rec *s)
ap_mpm_query(AP_MPMQ_HARD_LIMIT_THREADS, &threads_limit);

if (minw <= 0) {
minw = max_threads_per_child / 2;
minw = max_threads_per_child;
}
if (maxw <= 0) {
maxw = threads_limit / 2;
maxw = threads_limit;
if (maxw < minw) {
maxw = minw;
}
Expand Down
2 changes: 1 addition & 1 deletion mod_h2/h2_worker.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ static void *execute(apr_thread_t *thread, void *wctx)
{
h2_worker *worker = (h2_worker *)wctx;
apr_status_t status = APR_SUCCESS;
const int n = 10;
const int n = 1000000;
(void)thread;

/* Furthermore, other code might want to see the socket for
Expand Down

0 comments on commit 9de34ec

Please sign in to comment.