mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 07:24:13 +00:00 
			
		
		
		
	chore, perf: Reduce redis memory (#7816)
* Reduce redis memory * CHANGELOG * a
This commit is contained in:
		
							parent
							
								
									8a0a46b1c9
								
							
						
					
					
						commit
						388de9dc96
					
				
					 2 changed files with 4 additions and 1 deletions
				
			
		| 
						 | 
					@ -8,6 +8,7 @@
 | 
				
			||||||
-->
 | 
					-->
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## 12.x.x (unreleased)
 | 
					## 12.x.x (unreleased)
 | 
				
			||||||
 | 
					- ActivityPub: deliverキューのメモリ使用量を削減
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### Improvements
 | 
					### Improvements
 | 
				
			||||||
- ActivityPub: リモートユーザーのDeleteアクティビティに対応
 | 
					- ActivityPub: リモートユーザーのDeleteアクティビティに対応
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -64,7 +64,9 @@ export function deliver(user: ThinUser, content: unknown, to: string | null) {
 | 
				
			||||||
	if (to == null) return null;
 | 
						if (to == null) return null;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	const data = {
 | 
						const data = {
 | 
				
			||||||
		user,
 | 
							user: {
 | 
				
			||||||
 | 
								id: user.id
 | 
				
			||||||
 | 
							},
 | 
				
			||||||
		content,
 | 
							content,
 | 
				
			||||||
		to
 | 
							to
 | 
				
			||||||
	};
 | 
						};
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue