summaryrefslogtreecommitdiff
path: root/osprofiler/cmd
diff options
context:
space:
mode:
authorTovin Seven <vinhnt@vn.fujitsu.com>2017-01-24 14:23:01 +0700
committerTovin Seven <vinhnt@vn.fujitsu.com>2017-01-24 15:10:05 +0700
commitf892902352477d01bbf77c8bda29fb340c9f610b (patch)
tree57653e4275b0114e032a0ff2498113c405db8106 /osprofiler/cmd
parent93aec6a99fdb586970f4381f5510ae100ba875e4 (diff)
downloadosprofiler-f892902352477d01bbf77c8bda29fb340c9f610b.tar.gz
Increase angular digest iteration limit
Default iteration limit is set to 10. Increase limit to 50 will display traces more than 10 levels. Why? Because some trace outputs by heat, magnum, nova have depth from 15 to 35 (so insane). Limit to 10: https://tovin07.github.io/cluster-create-with-default-iteration-limit.html Limit to 50: https://tovin07.github.io/cluster-create-with-50-iteration-limit.html Reference: https://docs.angularjs.org/api/ng/provider/$rootScopeProvider Change-Id: Ib83a8db570485af72c0875aad7d6b944210a7b68
Diffstat (limited to 'osprofiler/cmd')
-rw-r--r--osprofiler/cmd/template.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/osprofiler/cmd/template.html b/osprofiler/cmd/template.html
index 502778e..45b69a1 100644
--- a/osprofiler/cmd/template.html
+++ b/osprofiler/cmd/template.html
@@ -84,6 +84,9 @@
angular
.module('app', ['ui.bootstrap', 'hljs'])
+ .config(['$rootScopeProvider', function ($rootScopeProvider) {
+ $rootScopeProvider.digestTtl(50);
+ }])
.config(['hljsServiceProvider', function (hljsServiceProvider) {
hljsServiceProvider.setOptions({
// replace tab with 4 spaces