mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 08:12:26 -05:00 
			
		
		
		
	should be done poking now
This commit is contained in:
		
					parent
					
						
							
								408ddc367d
							
						
					
				
			
			
				commit
				
					
						9e2fd4734b
					
				
			
		
					 1 changed files with 1 additions and 4 deletions
				
			
		|  | @ -92,7 +92,7 @@ func init() { | |||
| 				Column("id"). | ||||
| 				Where("? < ?", bun.Ident("id"), maxID). | ||||
| 				OrderExpr("? DESC", bun.Ident("id")). | ||||
| 				Limit(1000). | ||||
| 				Limit(200). | ||||
| 				Scan(ctx); err != nil && !errors.Is(err, sql.ErrNoRows) { | ||||
| 				return gtserror.Newf("error selecting unthreaded statuses: %w", err) | ||||
| 			} | ||||
|  | @ -265,9 +265,6 @@ func (sr *statusRethreader) rethreadStatus(ctx context.Context, tx bun.Tx, statu | |||
| 
 | ||||
| 	// Ensure the passed status | ||||
| 	// has up-to-date information. | ||||
| 	// This may have changed from | ||||
| 	// the initial batch selection | ||||
| 	// to the rethreadStatus() call. | ||||
| 	upToDateValues := make(map[string]any, 3) | ||||
| 	if err := tx.NewSelect(). | ||||
| 		TableExpr("? AS ?", bun.Ident("statuses"), bun.Ident("status")). | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue