]> granicus.if.org Git - apache/commitdiff
On the 2.4.x branch:
authorStefan Eissing <icing@apache.org>
Sat, 2 Dec 2017 18:23:31 +0000 (18:23 +0000)
committerStefan Eissing <icing@apache.org>
Sat, 2 Dec 2017 18:23:31 +0000 (18:23 +0000)
mod_http2: h2_workers.c now in sync with trunk again and backported as intended.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1816977 13f79535-47bb-0310-9956-ffa450edef68

modules/http2/h2_workers.c

index 2df92b2354cc574665c63789f8df3a84e454fb83..e976df94cf6996f9b370c625570c475871a2334a 100644 (file)
@@ -160,7 +160,7 @@ static apr_status_t slot_pull_task(h2_slot *slot, h2_mplx *m)
          * If we still have idle workers, we let the worker be sticky, 
          * e.g. making it poll the task's h2_mplx instance for more work 
          * before asking back here. */
-        slot->sticks = 1;/*slot->workers->max_workers;*/
+        slot->sticks = slot->workers->max_workers;
         return rv;            
     }
     slot->sticks = 0;