In L5.8 Cache duratrion is now defined in seconds
So we can pass the value straight in without converting to minutes
This commit is contained in:
parent
4b60d6bacd
commit
a907df59c0
1 changed files with 1 additions and 1 deletions
|
@ -355,7 +355,7 @@ class Note extends Model
|
|||
} catch (\Exception $e) {
|
||||
return null;
|
||||
}
|
||||
Cache::put($tweetId, $oEmbed, ($oEmbed->cache_age / 60));
|
||||
Cache::put($tweetId, $oEmbed, ($oEmbed->cache_age));
|
||||
|
||||
return $oEmbed;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue