In order to avoid any performance issues, I tried to change the query from ``` sql_query("sip_proxy_cache", "DELETE FROM location WHERE server_id=0 AND connection_id=$conid", "result"); ``` to ``` sql_query_async("sip_proxy_cache", "DELETE FROM location WHERE server_id=0 AND connection_id=$conid"); ``` but got the same error.
So please make the sql connections available in event routes as they have been before.