forked from mirror/pixelfed
Update ProfileController, reduce actor object ttl from 6 hours to 15 minutes
This commit is contained in:
parent
b2259860de
commit
7680e771a7
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ class ProfileController extends Controller
|
|||
abort_if(!config('federation.activitypub.enabled'), 404);
|
||||
abort_if($user->domain, 404);
|
||||
$key = 'profile:ap:' . $user->id;
|
||||
$ttl = now()->addHours(6);
|
||||
$ttl = now()->addMinutes(15);
|
||||
|
||||
return Cache::remember($key, $ttl, function() use($user) {
|
||||
$fractal = new Fractal\Manager();
|
||||
|
|
Loading…
Reference in a new issue