~openerp-connector-core-editors/openerp-connector/7.0-connector-pg-notify-listen-experimental

Viewing all changes in revision 576.

  • Committer: Guewen Baconnier
  • Date: 2013-06-25 09:45:53 UTC
  • Revision ID: guewen.baconnier@camptocamp.com-20130625094553-r0zwvs11154p7c68
[REF] reworked the workers:

* do no longer use the registries, they are not reliable, check if the connector is installed on the database names
* call the signaling methods of the registry within a session context, ensure that we use the correct registry and it is cleared if necessary
* do not store the worker on the 'queue.worker' model, it is cleared when the registry is reinitialized

This is much reliable because the worker stay alive even if a registry is rebuilt (the worker was replaced by a new one before but anyway it was not linked to the registry)

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: