File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
apps/insights/src/services Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -213,6 +213,7 @@ const _getPublisherRankingHistory = async ({
213213 } ,
214214 ) ;
215215
216+ // note that this is not cached as the `from`/`to` params are unix timestamps
216217export const getFeedScoreHistory = async ( {
217218 cluster,
218219 publisherKey,
@@ -335,7 +336,8 @@ export const _getPublisherAverageScoreHistory = async ({
335336 } ,
336337 ) ;
337338
338- const _getHistoricalPrices = async ( {
339+ // note that this is not cached as the `until` param is a unix timestamp
340+ export const getHistoricalPrices = async ( {
339341 symbol,
340342 until,
341343} : {
@@ -402,11 +404,6 @@ export const getPublisherRankingHistory = redisCache.define(
402404 _getPublisherRankingHistory ,
403405) . getPublisherRankingHistory ;
404406
405- export const getHistoricalPrices = redisCache . define (
406- "getHistoricalPrices" ,
407- _getHistoricalPrices ,
408- ) . getHistoricalPrices ;
409-
410407export const getFeedPriceHistory = redisCache . define (
411408 "getFeedPriceHistory" ,
412409 _getFeedPriceHistory ,
You can’t perform that action at this time.
0 commit comments