allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kentontay...@apache.org
Subject [2/2] allura git commit: [#8189] Config update for profiling
Date Mon, 26 Feb 2018 14:31:36 GMT
[#8189] Config update for profiling


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/202d8a5c
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/202d8a5c
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/202d8a5c

Branch: refs/heads/kt/8189
Commit: 202d8a5ca99db1d96a68d60cb0006c276b375eeb
Parents: ac2e86a
Author: Kenton Taylor <ktaylor@slashdotmedia.com>
Authored: Mon Feb 26 09:31:12 2018 -0500
Committer: Kenton Taylor <ktaylor@slashdotmedia.com>
Committed: Mon Feb 26 09:31:12 2018 -0500

----------------------------------------------------------------------
 Allura/docker-dev.ini | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/202d8a5c/Allura/docker-dev.ini
----------------------------------------------------------------------
diff --git a/Allura/docker-dev.ini b/Allura/docker-dev.ini
index ee7734f..3f008b4 100644
--- a/Allura/docker-dev.ini
+++ b/Allura/docker-dev.ini
@@ -20,9 +20,19 @@ use = egg:Paste#http
 host = 0.0.0.0
 port = 8088
 
+# profile for profiling. use in conjunction with filter-with below.
+;[filter:profile]
+;use = egg:repoze.profile#profile
+;log_filename = /allura/allura.profile
+;cachegrind_filename = /allura-data/cachegrind.out.allura
+;discard_first_request = true
+;path = /__alluraprofile__
+;flush_at_shutdown = true
+
+
 [app:main]
 use = config:development.ini#main
-
+;filter-with = profile
 activitystream.master = mongodb://mongo:27017
 
 ming.main.uri = mongodb://mongo:27017/allura
@@ -54,9 +64,6 @@ smtp_port = 8826
 forgemail.host = 0.0.0.0
 forgemail.port = 8825
 
-[filter-app:profile]
-use=egg:keas.profile#profiler
-next=main
 
 [app:task]
 use = main


Mime
View raw message