Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
56a073e5
Commit
56a073e5
authored
Mar 17, 2015
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't schedule req's using sess' task structure, that doesn't
scale to parallism.
parent
d92975ce
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
cache.h
bin/varnishd/cache/cache.h
+1
-0
cache_session.c
bin/varnishd/cache/cache_session.c
+3
-3
No files found.
bin/varnishd/cache/cache.h
View file @
56a073e5
...
...
@@ -556,6 +556,7 @@ struct req {
struct
sess
*
sp
;
struct
worker
*
wrk
;
struct
pool_task
task
;
enum
req_step
req_step
;
VTAILQ_ENTRY
(
req
)
w_list
;
...
...
bin/varnishd/cache/cache_session.c
View file @
56a073e5
...
...
@@ -161,10 +161,10 @@ SES_ScheduleReq(struct req *req)
CHECK_OBJ_NOTNULL
(
pp
,
SESSPOOL_MAGIC
);
AN
(
pp
->
pool
);
sp
->
task
.
func
=
ses_req_pool_task
;
sp
->
task
.
priv
=
req
;
req
->
task
.
func
=
ses_req_pool_task
;
req
->
task
.
priv
=
req
;
return
(
Pool_Task
(
pp
->
pool
,
&
sp
->
task
,
POOL_QUEUE_FRONT
));
return
(
Pool_Task
(
pp
->
pool
,
&
req
->
task
,
POOL_QUEUE_FRONT
));
}
/*--------------------------------------------------------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment