v1.2 Release: Metrics storage switch to Red-Black tree
Red-Black tree
Use rbtree, which is allocate dynamically, the storage size won't be limited by the number of buckets due to the hash implement.
Insert and query operations are convenient with ngx_rbtree interface.
Search performance should improve for large number of accounting channel names [not-tested-yet].
Minor bugfix
- fix a bug when
http_accounting_perturb
is set to 'off' or unset, the first event is added with wrong timer.