~ubuntu-branches/ubuntu/quantal/zodb/quantal

« back to all changes in this revision

Viewing changes to src/ZEO/zrpc/client.py

  • Committer: Bazaar Package Importer
  • Author(s): Fabio Tranchitella, Brian Sutherland, Fabio Tranchitella
  • Date: 2010-01-05 22:22:35 UTC
  • mfrom: (6.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20100105222235-z2xg4h60ru3e891t
Tags: 1:3.9.4-1
[ Brian Sutherland ]
* debian/tests/all: Test the correct python modules.

[ Fabio Tranchitella ]
* New upstream release.
* Convert to debhelper 7 and the pydeb dh7 extension.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
from ZEO.zrpc.log import log
26
26
import ZEO.zrpc.trigger
27
 
from ZEO.zrpc.connection import ManagedClientConnection
 
27
from ZEO.zrpc.connection import ManagedClientConnection, start_client_thread
28
28
 
29
29
class ConnectionManager(object):
30
30
    """Keeps a connection up over time"""
31
31
 
32
32
    def __init__(self, addrs, client, tmin=1, tmax=180):
 
33
        start_client_thread()
33
34
        self.addrlist = self._parse_addrs(addrs)
34
35
        self.client = client
35
36
        self.tmin = min(tmin, tmax)