]> git.kaiwu.me - njs.git/commit
Tests: size lifetime test zones for 64K pages
authorDmitry Volyntsev <xeioex@nginx.com>
Thu, 19 Nov 2026 06:09:54 +0000 (22:09 -0800)
committerDmitry Volyntsev <xeioexception@gmail.com>
Thu, 19 Nov 2026 06:44:10 +0000 (22:44 -0800)
commit4fbccb036997be73fde22951cfb077e0fda0f01f
treeaf193f358cb43e3829a393f88493819221645964
parentadbb92806f8769cbb5c9c7834e681bdabe99fd77
Tests: size lifetime test zones for 64K pages

The lifetime tests added in aaaf5712 configure 32k shared dict zones,
but nginx requires at least eight pages per zone. On systems with
64 KiB pages, nginx rejects both test configurations at startup.

Use 512k for the two scopes zones. They only exchange test results
and do not exercise dictionary capacity or eviction.
nginx/t/js_http_lifetime_scopes.t
nginx/t/stream_js_object_lifetime.t