mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	As noted in the docstring for `bulk_insert_ums`, this is at least one order of magnitude faster than using `bulk_create`. This also includes a `ON CONFLICT DO NOTHING` which allows multiple soft-reactivations to run at once without failing. We also adjust the update of `last_active_message_id` to be safe against races.
		
			
				
	
	
	
		
			17 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			17 KiB