diff --git a/packages/handshake-api/src/index.js b/packages/handshake-api/src/index.js index cda9ed2f..a50775f0 100644 --- a/packages/handshake-api/src/index.js +++ b/packages/handshake-api/src/index.js @@ -18,7 +18,7 @@ const clientOptions = { apiKey: hsdApiKey, }; const client = new NodeClient(clientOptions); -const cache = new NodeCache({ stdTTL: 1 }); // cache for 5 minutes +const cache = new NodeCache({ stdTTL: 300 }); // cache for 5 minutes // Match both `sia://HASH` and `HASH` links. const startsWithSkylinkRegExp = /^(sia:\/\/)?[a-zA-Z0-9_-]{46}/;