[courier/fetch/segmented] fix the maxSegmentCount config key

This commit is contained in:
Spencer Alger 2015-06-12 11:46:03 -07:00
parent afab2d292f
commit 402b0fc563

View file

@ -18,7 +18,7 @@ define(function (require) {
// segmented request specific state // segmented request specific state
this._initFn = initFn; this._initFn = initFn;
this._desiredSize = false; this._desiredSize = false;
this._maxSegments = config.get('discover:maxSegmentCount'); this._maxSegments = config.get('courier:maxSegmentCount');
this._hitsReceived = 0; this._hitsReceived = 0;
this._direction = 'desc'; this._direction = 'desc';
this._handle = new SegmentedHandle(this); this._handle = new SegmentedHandle(this);