nginx/njs

ngx.shared.SharedDict.clear() hangs when called on an empty dict

Closed this issue · 1 comments

When calling clear() on a shared dict, the request hangs in njs 0.8.3. A dict with items is properly cleared.

Hi @NetForce1,

I confirm the issue, it will be fixed.
As a workaround for 0.8.3 add timeout=10000000 to your js_shared_dict_zone directive.