kopia lustrzana https://github.com/pixelfed/pixelfed
				
				
				
			Update PublicTimelineService
							rodzic
							
								
									7b758135a3
								
							
						
					
					
						commit
						08467d52d5
					
				|  | @ -48,7 +48,7 @@ class PublicTimelineService { | |||
| 
 | ||||
| 	public static function add($val) | ||||
| 	{ | ||||
| 		if(self::count() > 400) { | ||||
| 		if(config('database.redis.client') === 'phpredis' && self::count() > 400) { | ||||
| 			Redis::zpopmin(self::CACHE_KEY); | ||||
| 		} | ||||
| 
 | ||||
|  |  | |||
		Ładowanie…
	
		Reference in New Issue
	
	 Daniel Supernault
						Daniel Supernault