Update Cache, prepare for laravel 5.8
This commit is contained in:
parent
6bbef6ac4e
commit
4739c25fe0
15 changed files with 31 additions and 30 deletions
|
@ -80,7 +80,7 @@ class FederationController extends Controller
|
|||
|
||||
public function nodeinfo()
|
||||
{
|
||||
$res = Cache::remember('api:nodeinfo', 60, function () {
|
||||
$res = Cache::remember('api:nodeinfo', now()->addHours(1), function () {
|
||||
return [
|
||||
'metadata' => [
|
||||
'nodeName' => config('app.name'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue