Commit acd87065 authored by Vincent Pelletier's avatar Vincent Pelletier

Caching cannot and must not be done at this level, because it can be desired...

Caching cannot and must not be done at this level, because it can be desired to get different connections.
As an example, in MySQL transaction information is local to a connection. So returning an existing connection is not always the same as creating a new one, and only the class doing the actual connection knows what can be shared and what cannot.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27219 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5f724eb6
......@@ -87,7 +87,6 @@ class WebServiceTool(BaseTool):
of any kind of web service (not only ERP5) with many
different kinds of transport like 'xml-rpc' or 'soap'
"""
# XXX: implement connection caching per zope thread
if transport_kw is None:
transport_kw = {}
connection_handler_klass = connection_plugin_registry[transport]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment