DregondRahl
Member
Sessions can get quite large for an active community, so it would appropriate i think to add LIMIT 1 to the session query, so it stops searching after it find the one its looking for.
	
	
	
		
Its not a major change but for a lot of sessions it can have some improvement.
				
			
		Code:
	
	SELECT session_data, expiry_date
FROM xf_session
WHERE session_id = ?
LIMIT 1Its not a major change but for a lot of sessions it can have some improvement.
		
		Upvote
		0
		
	
			 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		