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

@@ -242,6 +242,11 @@ static nxt_conf_map_t nxt_ruby_app_conf[] = {
NXT_CONF_MAP_STR,
offsetof(nxt_common_app_conf_t, u.ruby.script),
},
{
nxt_string("threads"),
NXT_CONF_MAP_INT32,
offsetof(nxt_common_app_conf_t, u.ruby.threads),
},
};