Skip to content

Instantly share code, notes, and snippets.

@wanghuizzz
wanghuizzz / no-memory-test.t
Last active April 17, 2020 04:44
no-memory-test.t
=== TEST 93: no memory test
--- http_config
lua_shared_dict dogs 1m;
--- config
location = /test {
content_by_lua '
local dogs = ngx.shared.dogs
local value_small = string.rep("1", 32)
local value_large = string.rep("1", 128)