From 5ac1746aff86464ca833d0082349e4c77fdb34d9 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Thu, 17 Dec 2020 17:47:56 -0700 Subject: [PATCH] Update bouncer --- app/Util/Sentiment/Bouncer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Util/Sentiment/Bouncer.php b/app/Util/Sentiment/Bouncer.php index 50150132..30df941b 100644 --- a/app/Util/Sentiment/Bouncer.php +++ b/app/Util/Sentiment/Bouncer.php @@ -18,7 +18,7 @@ class Bouncer { $recentKey = 'pf:bouncer:recent_by_pid:' . $status->profile_id; $recentTtl = now()->addMinutes(5); $recent = Cache::remember($recentKey, $recentTtl, function() use($status) { - return $status->profile->created_at->gt(now()->subMonths(3)) || $status->profile->statuses()->count() == 0; + return $status->profile->created_at->gt(now()->subMonths(2)) || $status->profile->statuses()->count() == 0; }); if(!$recent) {