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 ({
213
213
} ,
214
214
) ;
215
215
216
+ // note that this is not cached as the `from`/`to` params are unix timestamps
216
217
export const getFeedScoreHistory = async ( {
217
218
cluster,
218
219
publisherKey,
@@ -335,7 +336,8 @@ export const _getPublisherAverageScoreHistory = async ({
335
336
} ,
336
337
) ;
337
338
338
- const _getHistoricalPrices = async ( {
339
+ // note that this is not cached as the `until` param is a unix timestamp
340
+ export const getHistoricalPrices = async ( {
339
341
symbol,
340
342
until,
341
343
} : {
@@ -402,11 +404,6 @@ export const getPublisherRankingHistory = redisCache.define(
402
404
_getPublisherRankingHistory ,
403
405
) . getPublisherRankingHistory ;
404
406
405
- export const getHistoricalPrices = redisCache . define (
406
- "getHistoricalPrices" ,
407
- _getHistoricalPrices ,
408
- ) . getHistoricalPrices ;
409
-
410
407
export const getFeedPriceHistory = redisCache . define (
411
408
"getFeedPriceHistory" ,
412
409
_getFeedPriceHistory ,
You can’t perform that action at this time.
0 commit comments