summaryrefslogtreecommitdiff
path: root/run_tests.sh
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2013-12-19 21:52:12 -0400
committerKali Kaneko <kali@leap.se>2013-12-19 22:08:26 -0400
commit7a6d913fed8fc8332174c7ac5c8a4a5472a478c3 (patch)
treeec31ec578b431111b81b077ae070578d2b795dca /run_tests.sh
parentcb616b80c47a5c251f4c66808396d0ac1352a390 (diff)
Do not instantiate the synchronizer each time.
This has the nice effect of letting the persistent-connection reuse the existing connection, avoiding the ssl handshake overhead each time we try to synchronize. This can be traced by logging the instantiation of HttpClientBase in u1db.remote I *think* we should be fine with the timeouts as long as we keep the sync period along the 1 min we are doing now. For other cases, we should look into how to override the default timeout in httplib (used by u1db http_client).
Diffstat (limited to 'run_tests.sh')
0 files changed, 0 insertions, 0 deletions