소스 검색

Update FollowPipeline

Daniel Supernault 6 년 전
부모
커밋
95799c5c70
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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();
 
             Cache::forever('notification.'.$notification->id, $notification);
-
+            Cache::forget('feature:discover:people:'.$actor->id);
             $redis = Redis::connection();
 
             $nkey = config('cache.prefix').':user.'.$target->id.'.notifications';