Tue, 02 Apr 2013 15:11:41 +0200 [service] split session retrieval and service execution stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 02 Apr 2013 15:11:41 +0200] rev 8839
[service] split session retrieval and service execution Internal session are not tracker by the repository and can not be retrieved using _getsession. Moreover their session id is not unique… Closes #2735700
Tue, 02 Apr 2013 15:11:21 +0200 [service] handle cnxset in the async case only stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 02 Apr 2013 15:11:21 +0200] rev 8838
[service] handle cnxset in the async case only The service may be called by a session, we really do not want the call to service to mess with the transaction state. This does not apply to async were thread magic ensure a dedicated transaction.
Tue, 02 Apr 2013 14:46:13 +0200 [service] extract session retrieval from "task" closure stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 02 Apr 2013 14:46:13 +0200] rev 8837
[service] extract session retrieval from "task" closure The session was retrieved there because `set_cnxset` must be called in the same thread as the code using it. We now retrieve the session beforehand and explicitly call `set_cnxset`.
(0) -3000 -1000 -300 -100 -30 -10 -3 +3 +10 +30 +100 +300 +1000 +3000 tip