]> git.kaiwu.me - njs.git/commit
Modules: shared dictionary add, set, incr methods timeout argument.
authorjo-carter <104033676+jo-carter@users.noreply.github.com>
Sun, 2 Jun 2024 08:11:13 +0000 (09:11 +0100)
committerDmitry Volyntsev <xeioexception@gmail.com>
Mon, 10 Jun 2024 23:04:46 +0000 (16:04 -0700)
commitd8fbff1b0b1099fac5f75112580d671007584b00
tree91f53fc3173f6bff2dc6fce54a254551afd8b50c
parent5ab25988c13a2fc5a970b72ab6fdf636a2980533
Modules: shared dictionary add, set, incr methods timeout argument.

The optional timeout argument overrides the timeout specified with
the shared_dict_zone directive for the effected key and operation
only. The timeout is specified in milliseconds.

This is useful when the majority of keys are expected to require
unique timeouts.
nginx/ngx_js_shared_dict.c
nginx/t/js_shared_dict.t