]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 574376: Make checksetup.pl recommend JSON::XS to speed up the JSON-RPC
authorMax Kanat-Alexander <mkanat@bugzilla.org>
Thu, 24 Jun 2010 16:48:31 +0000 (09:48 -0700)
committerMax Kanat-Alexander <mkanat@bugzilla.org>
Thu, 24 Jun 2010 16:48:31 +0000 (09:48 -0700)
WebService
r=mkanat, a=mkanat (module owner)

Bugzilla/Install/Requirements.pm
template/en/default/setup/strings.txt.pl

index badf63c40b0ab94ffa8b4ecaeda6cf04185baef9..00077a5a965325e2d2e3c2bfef2fc062cf4fe70a 100644 (file)
@@ -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',
index eec0bd90eb4c55065970403d9d3aea4569a64129..20c5627c95e05a52625432cea023962e389f7e76 100644 (file)
@@ -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',