Merge lp:~cmiller/desktopcouch/disable-stats-lp746367 into lp:desktopcouch

Proposed by Chad Miller
Status: Merged
Approved by: dobey
Approved revision: 270
Merged at revision: 272
Proposed branch: lp:~cmiller/desktopcouch/disable-stats-lp746367
Merge into: lp:desktopcouch
Diff against target: 21 lines (+11/-0)
1 file modified
desktopcouch/application/local_files.py (+11/-0)
To merge this branch: bzr merge lp:~cmiller/desktopcouch/disable-stats-lp746367
Reviewer Review Type Date Requested Status
dobey (community) Approve
Eric Casteleijn (community) Approve
Review via email: mp+56819@code.launchpad.net

Commit message

For personal couchdbs, by default, disable statistics gathering, which almost noone will want or use. (LP: #746367)

To post a comment you must log in.
Revision history for this message
Eric Casteleijn (thisfred) :
review: Approve
Revision history for this message
dobey (dobey) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'desktopcouch/application/local_files.py'
2--- desktopcouch/application/local_files.py 2010-11-26 23:11:50 +0000
3+++ desktopcouch/application/local_files.py 2011-04-07 18:29:57 +0000
4@@ -105,6 +105,17 @@
5 'file': ctx.file_log,
6 'level': ctx.couchdb_log_level,
7 },
8+ 'stats': { # disable statistics gathering
9+ 'rate': '',
10+ 'samples': '',
11+ },
12+ 'daemons': { # disable statistics gathering
13+ 'stats_collector': '',
14+ 'stats_aggregator': '',
15+ },
16+ 'httpd_global_handlers': {
17+ '_stats': '', # disable statisics URL
18+ },
19 }
20
21 if ctx.with_auth:

Subscribers

People subscribed via source and target branches