From f9474d9b06e9b39a3e1f291af50b6d33e7f8d10a Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Thu, 24 Jun 2010 09:48:31 -0700 Subject: Bug 574376: Make checksetup.pl recommend JSON::XS to speed up the JSON-RPC WebService r=mkanat, a=mkanat (module owner) --- Bugzilla/Install/Requirements.pm | 7 +++++++ template/en/default/setup/strings.txt.pl | 1 + 2 files changed, 8 insertions(+) diff --git a/Bugzilla/Install/Requirements.pm b/Bugzilla/Install/Requirements.pm index badf63c40..00077a5a9 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 eec0bd90e..20c5627c9 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', -- cgit v1.2.3-24-g4f1b