Make configurable number of member profiles to look ahead

Introduced config param 'members_look_ahead' with default value 250

Closes bug 1361927

Change-Id: Ia4c029126efe0044096768dc27e19e6345b7c38d
This commit is contained in:
Ilya Shakhat
2014-09-02 16:38:18 +04:00
parent c2f873b669
commit bfb56d28c2
4 changed files with 9 additions and 5 deletions

View File

@@ -65,4 +65,6 @@ OPTS = [
cfg.StrOpt('collect-profiler-stats',
help='Name of file to store python profiler data. This option '
'works for dashboard only'),
cfg.IntOpt('members-look-ahead', default=250,
help='How many member profiles to look ahead after the last'),
]