Skip to content

Commit

Permalink
Change default query window to last 30 days to match new API default
Browse files Browse the repository at this point in the history
  • Loading branch information
iaincollins committed Nov 9, 2024
1 parent 9945dcb commit ff826f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/consts.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const COLONIA_COORDINATES = [-9530.5, -910.28125, 19808.125]
// These defaults should ideally match the API defaults for best performance.
// If these are changed in future, the defaults for the API should be changed
// to match, or more explicitly caching strategy implemented, for performance.
const COMMODITY_FILTER_MAX_DAYS_AGO_DEFAULT = 90
const COMMODITY_FILTER_MAX_DAYS_AGO_DEFAULT = 30
const COMMODITY_FILTER_FLEET_CARRIER_DEFAULT = 'included'
const COMMODITY_FILTER_MIN_VOLUME_DEFAULT = 1
const COMMODITY_FILTER_LOCATION_DEFAULT = 'Any location'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ardent-www",
"version": "0.96.0",
"version": "0.97.0",
"description": "Ardent Industry",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit ff826f5

Please sign in to comment.