Skip to content
This repository has been archived by the owner on Jun 11, 2021. It is now read-only.

Commit

Permalink
Merge pull request #2106 from docker/bump-cached
Browse files Browse the repository at this point in the history
Updated cached requests
  • Loading branch information
FrenchBen committed Nov 10, 2016
2 parents b20bc36 + c3a9fd9 commit 3ffb6c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"async": "^1.4.2",
"bluebird": "^2.9.24",
"bugsnag-js": "^2.4.7",
"cached-request": "^0.1.4",
"cached-request": "^1.1.0",
"classnames": "^2.1.5",
"coveralls": "^2.11.2",
"deep-extend": "^0.4.0",
Expand Down
2 changes: 1 addition & 1 deletion src/utils/RegHubUtil.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import os from 'os';
var cachedRequest = require('cached-request')(request);
var cacheDirectory = os.tmpDir() + '/cachekitematic';
cachedRequest.setCacheDirectory(cacheDirectory);
cachedRequest.set('ttl', 3000);
cachedRequest.setValue('ttl', 3000);

let REGHUB2_ENDPOINT = process.env.REGHUB2_ENDPOINT || 'https://hub.docker.com/v2';
let searchReq = null;
Expand Down

0 comments on commit 3ffb6c3

Please sign in to comment.