diff --git a/core/uwsgi.c b/core/uwsgi.c index c81e0d23..0a2b73df 100644 --- a/core/uwsgi.c +++ b/core/uwsgi.c @@ -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}, diff --git a/plugins/pypy/pypy_plugin.c b/plugins/pypy/pypy_plugin.c index 3dfcc15a..f6aa2d0d 100644 --- a/plugins/pypy/pypy_plugin.c +++ b/plugins/pypy/pypy_plugin.c @@ -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(); } }