From: Max Kanat-Alexander Date: Thu, 24 Jun 2010 16:48:31 +0000 (-0700) Subject: Bug 574376: Make checksetup.pl recommend JSON::XS to speed up the JSON-RPC X-Git-Tag: bugzilla-3.7.1~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9474d9b06e9b39a3e1f291af50b6d33e7f8d10a;p=thirdparty%2Fbugzilla.git Bug 574376: Make checksetup.pl recommend JSON::XS to speed up the JSON-RPC WebService r=mkanat, a=mkanat (module owner) --- diff --git a/Bugzilla/Install/Requirements.pm b/Bugzilla/Install/Requirements.pm index badf63c40b..00077a5a96 100644 --- a/Bugzilla/Install/Requirements.pm +++ b/Bugzilla/Install/Requirements.pm @@ -238,6 +238,13 @@ sub OPTIONAL_MODULES { version => 0, feature => ['jsonrpc'], }, + { + package => 'JSON-XS', + module => 'JSON::XS', + # 2.0 is the first version that will work with JSON::RPC. + version => '2.0', + feature => ['jsonrpc_faster'], + }, { package => 'Test-Taint', module => 'Test::Taint', diff --git a/template/en/default/setup/strings.txt.pl b/template/en/default/setup/strings.txt.pl index eec0bd90eb..20c5627c95 100644 --- a/template/en/default/setup/strings.txt.pl +++ b/template/en/default/setup/strings.txt.pl @@ -57,6 +57,7 @@ END feature_inbound_email => 'Inbound Email', feature_jobqueue => 'Mail Queueing', feature_jsonrpc => 'JSON-RPC Interface', + feature_jsonrpc_faster => 'Make JSON-RPC Faster', feature_new_charts => 'New Charts', feature_old_charts => 'Old Charts', feature_mod_perl => 'mod_perl',