Skip to content

Commit

Permalink
Merge pull request #451 from TosiDrop/comment-out-minswap
Browse files Browse the repository at this point in the history
disable minswap fetch
  • Loading branch information
reqlez authored Aug 1, 2024
2 parents be89195 + 0af9480 commit c3943b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/service/minswap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ export namespace MinswapService {
url: MIN_PAIRS_API,
timeout: 10000,
};
prices = (await axios(axiosRequestConfig)).data;
shortTermCache.set("prices", prices);
// prices = (await axios(axiosRequestConfig)).data;
// shortTermCache.set("prices", prices);
} catch (error: unknown) {
LoggerService.warn("Fail to fetch price info from minswap");
prices = {};
Expand Down

0 comments on commit c3943b5

Please sign in to comment.