1
0
mirror of https://github.com/graygnuorg/pound.git synced 2026-10-25 10:19:36 +03:00
Files
pound/doc
Sergey Poznyakoff a6c46a34be Rework the worker model
* NEWS: Document changes.
* doc/pound.8: Document changes.
* configure.ac: Version 4.0.90
* src/config.c: New configuration parameters: WorkerMinCount,
WorkerMaxCount and WorkerIdleTimeout.
* src/extern.h (numthreads): Remove.
(worker_min_count, worker_max_count)
(worker_idle_timeout): New externs.
* src/http.c (thr_http): Return if get_thr_arg returns NULL.
* src/pound.c (numthreads): Remove.
(worker_min_count, worker_max_count)
(worker_idle_timeout): New variables.
(put_thr_arg): Start new worker if all existing workers are busy
and worker_max_count is not yet reached.
(get_thr_arg): Return NULL if a spare thread remains idle for
too long.
* src/pound.h (DEFAULT_NUMTHREADS): Remove.
(DEFAULT_WORKER_MIN, DEFAULT_WORKER_MAX)
(DEFAULT_WORKER_IDLE_TIMEOUT): New defines.
2022-12-09 15:33:26 +02:00
..
2022-11-23 19:10:49 +02:00
2022-12-09 15:33:26 +02:00
2022-12-01 20:45:32 +02:00