mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-06 13:41:28 +00:00
added --mule-msg-size
This commit is contained in:
@@ -258,6 +258,7 @@ static struct uwsgi_option uwsgi_base_options[] = {
|
||||
{"mule", optional_argument, 0, "add a mule", uwsgi_opt_add_mule, NULL, UWSGI_OPT_MASTER},
|
||||
{"mules", required_argument, 0, "add the specified number of mules", uwsgi_opt_add_mules, NULL, UWSGI_OPT_MASTER},
|
||||
{"farm", required_argument, 0, "add a mule farm", uwsgi_opt_add_farm, NULL, UWSGI_OPT_MASTER},
|
||||
{"mule-msg-size", optional_argument, 0, "set mule message buffer size", uwsgi_opt_set_int, &uwsgi.mule_msg_size, UWSGI_OPT_MASTER},
|
||||
|
||||
{"signal", required_argument, 0, "send a uwsgi signal to a server", uwsgi_opt_signal, NULL, UWSGI_OPT_IMMEDIATE},
|
||||
{"signal-bufsize", required_argument, 0, "set buffer size for signal queue", uwsgi_opt_set_int, &uwsgi.signal_bufsize, 0},
|
||||
|
||||
@@ -211,7 +211,6 @@ static struct uwsgi_option uwsgi_pypy_options[] = {
|
||||
};
|
||||
|
||||
static void uwsgi_pypy_enable_threads() {
|
||||
return;
|
||||
if (pypy_init_threads) {
|
||||
pypy_init_threads();
|
||||
}
|
||||
@@ -219,7 +218,6 @@ static void uwsgi_pypy_enable_threads() {
|
||||
|
||||
static void uwsgi_pypy_init_thread() {
|
||||
if (pypy_thread_attach) {
|
||||
pypy_init_threads();
|
||||
pypy_thread_attach();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user