From 1b134619ecc520148c683511e2e1edb1a7abfe28 Mon Sep 17 00:00:00 2001 From: niv-openerp Date: Tue, 29 Jan 2013 14:43:39 +0100 Subject: [PATCH] wip bzr revid: nicolas.vanhoren@openerp.com-20130129134339-lknchy72ezp6bu3k --- addons/web_im/im.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/addons/web_im/im.py b/addons/web_im/im.py index 0bbe41b891a..e5f84bb2186 100644 --- a/addons/web_im/im.py +++ b/addons/web_im/im.py @@ -34,8 +34,7 @@ _logger = logging.getLogger(__name__) def listen_channel(cr, channel_name, handle_message, check_stop=(lambda: False), check_stop_timer=60.): """ - Begin a loop, listening on a PostgreSQL channel. This method does reserver its own cursor, so it should always - be called when outside a transaction. This method does never terminate by default, you need to provide a check_stop + Begin a loop, listening on a PostgreSQL channel. This method does never terminate by default, you need to provide a check_stop callback to do so. This method also assume that all notifications will include a message formated using JSON (see the corresponding notify_channel() method).