]> git.kaiwu.me - haproxy.git/commit
[MEDIUM] introduce task->nice and boot access to statistics
authorWilly Tarreau <w@1wt.eu>
Mon, 30 Jun 2008 05:51:00 +0000 (07:51 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 30 Jun 2008 05:51:00 +0000 (07:51 +0200)
commit91e99931b7a94dfa6dc62c384b1183b7bc70b7c7
treed85d386477cccf2e72fe56eed1a463c8f69557a7
parent58b458d8baf0ac14796edb7d0265971e3549f967
[MEDIUM] introduce task->nice and boot access to statistics

The run queue scheduler now considers task->nice to queue a task and
to pick a task out of the queue. This makes it possible to boost the
access to statistics (both via HTTP and UNIX socket). The UNIX socket
receives twice as much a boost as the HTTP socket because it is more
sensible.
include/proto/task.h
include/types/task.h
src/proto_http.c
src/proto_uxst.c
src/task.c