mirror of
				https://github.com/matrix-org/synapse.git
				synced 2025-10-31 12:18:24 +00:00 
			
		
		
		
	Add a note to the config documentation that the 'delete_stale_devices_after' job always runs on the main process (#15452)
This commit is contained in:
		
							parent
							
								
									e12d788bb7
								
							
						
					
					
						commit
						929797d939
					
				
							
								
								
									
										1
									
								
								changelog.d/15452.doc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								changelog.d/15452.doc
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1 @@ | ||||
| Note that the `delete_stale_devices_after` background job always runs on the main process. | ||||
| @ -577,6 +577,10 @@ delete any device that hasn't been accessed for more than the specified amount o | ||||
| 
 | ||||
| Defaults to no duration, which means devices are never pruned. | ||||
| 
 | ||||
| **Note:** This task will always run on the main process, regardless of the value of | ||||
| `run_background_tasks_on`. This is due to workers currently not having the ability to | ||||
| delete devices. | ||||
| 
 | ||||
| Example configuration: | ||||
| ```yaml | ||||
| delete_stale_devices_after: 1y | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user