mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-30 20:02:24 -05:00 
			
		
		
		
	continued from previous commit
This commit is contained in:
		
					parent
					
						
							
								25c57a49d1
							
						
					
				
			
			
				commit
				
					
						a48527282e
					
				
			
		
					 1 changed files with 1 additions and 3 deletions
				
			
		
							
								
								
									
										4
									
								
								internal/cache/timeline/status.go
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								internal/cache/timeline/status.go
									
										
									
									
										vendored
									
									
								
							|  | @ -268,11 +268,9 @@ type StatusTimeline struct { | ||||||
| // Init ... | // Init ... | ||||||
| func (t *StatusTimeline) Init(cap int) { | func (t *StatusTimeline) Init(cap int) { | ||||||
| 	t.cache.Init(structr.TimelineConfig[*StatusMeta, string]{ | 	t.cache.Init(structr.TimelineConfig[*StatusMeta, string]{ | ||||||
| 		PKey: "ID", | 		PKey: structr.IndexConfig{Fields: "ID"}, | ||||||
| 
 | 
 | ||||||
| 		Indices: []structr.IndexConfig{ | 		Indices: []structr.IndexConfig{ | ||||||
| 			// ID as primary key is inherently an index. |  | ||||||
| 			// {Fields: "ID"}, |  | ||||||
| 			{Fields: "AccountID", Multiple: true}, | 			{Fields: "AccountID", Multiple: true}, | ||||||
| 			{Fields: "BoostOfID", Multiple: true}, | 			{Fields: "BoostOfID", Multiple: true}, | ||||||
| 			{Fields: "BoostOfAccountID", Multiple: true}, | 			{Fields: "BoostOfAccountID", Multiple: true}, | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue