fix:remove tagging from caches to enable dynamo db

This commit is contained in:
hackerESQ
2024-10-23 13:43:34 -05:00
parent 339de1ac9a
commit 2995f8b37e
5 changed files with 8 additions and 8 deletions
@@ -20,8 +20,8 @@ class AlphaVantageMarketData implements MarketDataInterface
$quote = Alphavantage::core()->quoteEndpoint($symbol);
$quote = Arr::get($quote, 'Global Quote', []);
$fundamental = cache()->tags(['quote', 'alpha-vantage', $symbol])->remember(
'symbol-'.$symbol,
$fundamental = cache()->remember(
'av-symbol-'.$symbol,
1440,
function () use ($symbol) {
return Alphavantage::fundamentals()->overview($symbol);
@@ -30,8 +30,8 @@ class FinnhubMarketData implements MarketDataInterface
$quote = $this->client->quote($symbol);
$fundamental = cache()->tags(['quote', 'finnhub', $symbol])->remember(
'symbol-'.$symbol,
$fundamental = cache()->remember(
'fh-symbol-'.$symbol,
1440,
function () use ($symbol) {
return $this->client->companyBasicFinancials($symbol, "all");