Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions apps/insights/src/services/clickhouse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ const _getPublisherRankingHistory = async ({
},
);

// note that this is not cached as the `from`/`to` params are unix timestamps
export const getFeedScoreHistory = async ({
cluster,
publisherKey,
Expand Down Expand Up @@ -335,7 +336,8 @@ export const _getPublisherAverageScoreHistory = async ({
},
);

const _getHistoricalPrices = async ({
// note that this is not cached as the `until` param is a unix timestamp
export const getHistoricalPrices = async ({
symbol,
until,
}: {
Expand Down Expand Up @@ -402,11 +404,6 @@ export const getPublisherRankingHistory = redisCache.define(
_getPublisherRankingHistory,
).getPublisherRankingHistory;

export const getHistoricalPrices = redisCache.define(
"getHistoricalPrices",
_getHistoricalPrices,
).getHistoricalPrices;

export const getFeedPriceHistory = redisCache.define(
"getFeedPriceHistory",
_getFeedPriceHistory,
Expand Down
Loading