Skip to content

Commit

Permalink
Merge pull request #396 from curvefi/max-age
Browse files Browse the repository at this point in the history
fix: maxAge typo
  • Loading branch information
Macket authored Sep 27, 2024
2 parents 1b873ba + 2ed3670 commit e213f8c
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
@@ -1,6 +1,6 @@
{
"name": "@curvefi/api",
"version": "2.63.5",
"version": "2.63.6",
"description": "JavaScript library for curve.fi",
"main": "lib/index.js",
"author": "Macket",
Expand Down
2 changes: 1 addition & 1 deletion src/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const _buildRouteGraph = memoize(async (): Promise<IDict<IDict<IRouteStep[]>>> =
},
{
promise: true,
maxAge: 5 * 1000, // 5m
maxAge: 5 * 60 * 1000, // 5m
});

const _findRoutes = async (inputCoinAddress: string, outputCoinAddress: string): Promise<IRoute[]> => {
Expand Down

0 comments on commit e213f8c

Please sign in to comment.