diff options
author | drebs <drebs@leap.se> | 2015-05-19 18:46:53 -0300 |
---|---|---|
committer | drebs <drebs@leap.se> | 2015-05-20 10:16:46 -0300 |
commit | e62dafeba8f08c1f7588e37cf9cd3fb28e79a020 (patch) | |
tree | 2f6647e1a3b273aa5579941dbcf3e401c90514b5 /scripts/profiling/mail/couchdb_wrapper.py | |
parent | 94cbe24f6c6cd54e14d8d1b14e617c2d52c427fd (diff) |
[feature] use twisted.web.client in client sync
This change uses twisted deferreds for the whole syncing process and paves the
way to implementing other transport schemes. It removes a lot of threaded code
that used locks and was very difficult to maintain, and lets twisted to the
dirty work. Furthermore, all blocking network i/o is now handled
asynchronously by the twisted.
This commit removes the possibility of interrupting a sync, and we should
reimplement it using cancellable deferreds if we need it.
Diffstat (limited to 'scripts/profiling/mail/couchdb_wrapper.py')
0 files changed, 0 insertions, 0 deletions