mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 18:02:25 -05:00 
			
		
		
		
	[feature/performance] support uncaching remote emoji + scheduled cleanup functions (#1987)
This commit is contained in:
		
					parent
					
						
							
								81fe59dadc
							
						
					
				
			
			
				commit
				
					
						9eff0d46e4
					
				
			
		
					 33 changed files with 1287 additions and 219 deletions
				
			
		|  | @ -51,7 +51,7 @@ func (p *Processor) Create(ctx context.Context, account *gtsmodel.Account, form | |||
| 	} | ||||
| 
 | ||||
| 	// fetch statuses by IDs given in the report form (noop if no statuses given) | ||||
| 	statuses, err := p.state.DB.GetStatuses(ctx, form.StatusIDs) | ||||
| 	statuses, err := p.state.DB.GetStatusesByIDs(ctx, form.StatusIDs) | ||||
| 	if err != nil { | ||||
| 		err = fmt.Errorf("db error fetching report target statuses: %w", err) | ||||
| 		return nil, gtserror.NewErrorInternalError(err) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue