mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	Since each loop may add more than one file to the `storage_paths` list, this may result in more than 1000 files being sent to delete_message_attachments. Since the S3 backend only supports 1000 elements being deleted at once, we must partition the list into chunks which are no more than 1000 elements long.
		
			
				
	
	
	
		
			19 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			19 KiB