Skip to content

Commit

Permalink
Note about single syncrepl limitation
Browse files Browse the repository at this point in the history
  • Loading branch information
stroeder committed Sep 26, 2014
1 parent 2fb024d commit bc7e8f4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Lib/ldap/syncrepl.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
See http://www.python-ldap.org/ for project details.
$Id: syncrepl.py,v 1.5 2014/09/26 12:18:05 stroeder Exp $
$Id: syncrepl.py,v 1.6 2014/09/26 16:11:43 stroeder Exp $
"""

#__all__ = [
Expand Down Expand Up @@ -316,6 +316,10 @@ def syncrepl_search(self, base, scope, mode='refreshOnly', cookie=None, **search
methods to store the cookie appropriately, rather than
passing it.
Only a single syncrepl search may be active on a SyncreplConsumer
object. Multiple concurrent syncrepl searches require multiple
separate SyncreplConsumer objects and thus multiple connections
(LDAPObject instances).
"""
if cookie is None:
cookie = self.syncrepl_get_cookie()
Expand Down

0 comments on commit bc7e8f4

Please sign in to comment.