Ruby: request processing in multiple threads.

This closes #482 issue on GitHub.
This commit is contained in:
Max Romanov
2020-11-05 12:45:10 +03:00
parent 9f8b746e77
commit b6475df79c
6 changed files with 515 additions and 211 deletions

View File

@@ -615,6 +615,10 @@ static nxt_conf_vldt_object_t nxt_conf_vldt_ruby_members[] = {
.name = nxt_string("script"),
.type = NXT_CONF_VLDT_STRING,
.flags = NXT_CONF_VLDT_REQUIRED,
}, {
.name = nxt_string("threads"),
.type = NXT_CONF_VLDT_INTEGER,
.validator = nxt_conf_vldt_threads,
},
NXT_CONF_VLDT_NEXT(nxt_conf_vldt_common_members)