Skip to content

Commit

Permalink
lower max returned limit, resolves #152
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewhanson committed Jul 22, 2021
1 parent 0ac943a commit d73b427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion search/lib/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function getSettings () {
settings.cmrUrl = process.env.CMR_URL || 'https://cmr.earthdata.nasa.gov';
settings.protocol = process.env.CMR_STAC_PROTOCOL || 'https';
settings.cacheTtl = process.env.CMR_STAC_CACHE_TTL || 14400;
settings.maxLimit = process.env.CMR_STAC_MAX_LIMIT || 500;
settings.maxLimit = process.env.CMR_STAC_MAX_LIMIT || 250;

settings.throwCmrConvertParamErrors = process.env.THROW_CMR_CONVERT_PARAM_ERRORS === 'true';

Expand Down

0 comments on commit d73b427

Please sign in to comment.