Bläddra i källkod

Update FollowPipeline

Daniel Supernault 6 år sedan
förälder
incheckning
95799c5c70
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      app/Jobs/FollowPipeline/FollowPipeline.php

+ 1 - 1
app/Jobs/FollowPipeline/FollowPipeline.php

@@ -51,7 +51,7 @@ class FollowPipeline implements ShouldQueue
             $notification->save();
             $notification->save();
 
 
             Cache::forever('notification.'.$notification->id, $notification);
             Cache::forever('notification.'.$notification->id, $notification);
-
+            Cache::forget('feature:discover:people:'.$actor->id);
             $redis = Redis::connection();
             $redis = Redis::connection();
 
 
             $nkey = config('cache.prefix').':user.'.$target->id.'.notifications';
             $nkey = config('cache.prefix').':user.'.$target->id.'.notifications';