+
    wúæi€  ã                  ó6   € R t ^ RIHt ^ RIHt  ! R R4      tR# )zè
Ensure DB connections are not reused after MySQL closes idle sockets.

PyMySQL can raise `InterfaceError(0, "")` when the server drops a connection; Django
will keep the dead connection around until `close_old_connections()` runs.
)Úannotations)Úclose_old_connectionsc                  ó"   € ] tR t^tR tR tRtR# )ÚCloseOldDbConnectionsMiddlewarec                	ó   € Wn         R # ©N©Úget_response)Úselfr	   s   &&ÚBE:\live-kit-agent\livekit_voicebot\backend\config\db_middleware.pyÚ__init__Ú(CloseOldDbConnectionsMiddleware.__init__   s   € Ø(Öó    c                	ól   € \        4         V P                  V4      \        4        #   \        4        i ; ir   )r   r	   )r
   Úrequests   &&r   Ú__call__Ú(CloseOldDbConnectionsMiddleware.__call__   s)   € ÜÔð	$Ø×$Ñ$ WÓ-ä!Õ#øÔ!Õ#ús   Œ' §3r   N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__r   r   Ú__static_attributes__© r   r   r   r      s   † ò)ö$r   r   N)Ú__doc__Ú
__future__r   Ú	django.dbr   r   r   r   r   Ú<module>r      s   ðñõ #å +÷	$ó 	$r   