From 359d54e741877f04b0773fb0955041eee7ec0054 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Wed, 19 Jan 2011 11:24:31 -0500 Subject: Don't perform some API self-tests in production mode for performance reasons The API does a fair number of self tests and locking to assure that the registered commands are consistent and will work. This does not need to be done on a production system and adds additional overhead causing somewhere between a 30 and 50% decrease in performance. Because makeapi is executed when a build is done ensure that it is executed in developer mode to ensure that the framework is ok. ticket 751 --- install/tools/ipa-replica-install | 1 + 1 file changed, 1 insertion(+) (limited to 'install/tools/ipa-replica-install') diff --git a/install/tools/ipa-replica-install b/install/tools/ipa-replica-install index 717d25f05..3eb41daae 100755 --- a/install/tools/ipa-replica-install +++ b/install/tools/ipa-replica-install @@ -387,6 +387,7 @@ def main(): if ipautil.file_exists(config.dir + "/cacert.p12"): fd.write("enable_ra=True\n") fd.write("ra_plugin=dogtag\n") + fd.write("mode=production\n") fd.close() api.bootstrap(in_server=True) -- cgit