Repository: incubator-wave
Updated Branches:
  refs/heads/master 4f986cd9e -> d886dad25


Adds enable_profiling flag to the config template with default value as enabled.


Project: http://git-wip-us.apache.org/repos/asf/incubator-wave/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-wave/commit/d886dad2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-wave/tree/d886dad2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-wave/diff/d886dad2

Branch: refs/heads/master
Commit: d886dad25843f3bbecdb09c8b8cc9650bd1df60e
Parents: 4f986cd
Author: Yuri Zelikov <[email protected]>
Authored: Sat Aug 30 10:54:31 2014 +0300
Committer: Yuri Zelikov <[email protected]>
Committed: Sat Aug 30 10:54:31 2014 +0300

----------------------------------------------------------------------
 server-config.xml     | 2 +-
 server.config.example | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/d886dad2/server-config.xml
----------------------------------------------------------------------
diff --git a/server-config.xml b/server-config.xml
index 8068844..30b33c2 100644
--- a/server-config.xml
+++ b/server-config.xml
@@ -60,7 +60,7 @@
   <property name="thumbnail_patterns_directory" value="thumbnail_patterns" />
   <property name="analytics_account" value="" />
   <property name="profile_fetcher_type" value="gravatar" />
-  <property name="enable_profiling" value="false" />
+  <property name="enable_profiling" value="true" />
   <property name="solr_base_url" value="http://localhost:8983/solr"; />
   <property name="mongodb_host" value="127.0.0.1" />
   <property name="mongodb_port" value="27017" />

http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/d886dad2/server.config.example
----------------------------------------------------------------------
diff --git a/server.config.example b/server.config.example
index 5ca2a60..bc25193 100644
--- a/server.config.example
+++ b/server.config.example
@@ -203,6 +203,10 @@ analytics_account = @ANALYTICS_ACCOUNT@
 # For example thumbnail file for ZIP format (MIME type application/zip) must 
be named application_zip.
 thumbnail_patterns_directory = @THUMBNAIL_PATTERNS_DIRECTORY@
 
+# Enables server side profiling. To display the stats press ctrl+alt+ctrl in 
the web client.
+# Default value: true
+enable_profiling = @ENABLE_PROFILING@
+
 # Currently supported profile fetcher types: gravatar, initials.
 # Default value: gravatar.
 profile_fetcher_type = @PROFILE_FETCHER_TYPE@

Reply via email to