← Back to team overview

openerp-connector-community team mailing list archive

Connector did not close session to magento

 

Hi Guewen, and all other,

we recognised that the connector opens new session but never closed
then, so we have a lot of open session on the magento server.

Is there any reason not to close the session after a call?

As i see in the code and compare to:
http://pythonhosted.org//magento/api.html

we have:

try:
    return api.call('customer.list', [])
finally:
    api.client.endSession(api.session)

so we can add this to the MagentoCRUDAdapter in the same way?

Greetings

Markus

-- 
Dipl.-Comp.-Math. Markus Schneider
Softwareentwickler

initOS GmbH & Co. KG
An der Eisenbahn 1
21224 Rosengarten

Mobil:   +49 (0)172 2303699
Phone:   +49 (0)4105 5615613
Fax:     +49 (0)4105 5615610

Email:   markus.schneider@xxxxxxxxxx
Web:     http://www.initos.com

Geschäftsführung:
Dipl. Wirt.-Inf. Frederik Kramer & Dipl.-Ing. (FH) Torsten Francke
Haftende Gesellschafterin: initOS Verwaltungs GmbH

Sitz der Gesellschaft: Rosengarten – Klecken
Amtsgericht Tostedt, HRA 201840
USt-IdNr: DE 275698169
Steuer-Nr: 15/205/21402


Follow ups