* Fix regeneration marker not being removed after completion * Return HTTP 206 from /api/v1/timelines/home if regeneration in progress Prioritize RegenerationWorker by putting it into default queue * Display loading indicator and poll home timeline while it regenerates * Add graphic to regeneration message * Make "not found" indicator consistent with home regeneration
		
			
				
	
	
		
			9 lines
		
	
	
		
			211 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			211 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
| # frozen_string_literal: true
 | |
| 
 | |
| class PrecomputeFeedService < BaseService
 | |
|   def call(account)
 | |
|     FeedManager.instance.populate_feed(account)
 | |
|     Redis.current.del("account:#{account.id}:regeneration")
 | |
|   end
 | |
| end
 |