From b1691937238db04498c26ad5a8bdb8a8d9bdf3b3 Mon Sep 17 00:00:00 2001 From: "roberto@quantal64" Date: Fri, 20 Jul 2012 08:56:01 +0200 Subject: [PATCH] --json must be IMMEDIATE --- core/uwsgi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/uwsgi.c b/core/uwsgi.c index b0fbd84f..ffa9d6a4 100644 --- a/core/uwsgi.c +++ b/core/uwsgi.c @@ -232,8 +232,8 @@ static struct uwsgi_option uwsgi_base_options[] = { {"yal", required_argument, 'y', "load config from yaml file", uwsgi_opt_load_yml, NULL, UWSGI_OPT_IMMEDIATE}, #endif #ifdef UWSGI_JSON - {"json", required_argument, 'j', "load config from json file", uwsgi_opt_load_json, NULL, 0}, - {"js", required_argument, 'j', "load config from json file", uwsgi_opt_load_json, NULL, 0}, + {"json", required_argument, 'j', "load config from json file", uwsgi_opt_load_json, NULL, UWSGI_OPT_IMMEDIATE}, + {"js", required_argument, 'j', "load config from json file", uwsgi_opt_load_json, NULL, UWSGI_OPT_IMMEDIATE}, #endif #ifdef UWSGI_SQLITE3 {"sqlite3", required_argument, 0, "load config from sqlite3 db", uwsgi_opt_load_sqlite3, NULL, UWSGI_OPT_IMMEDIATE},