benoitc/couchdbkit — Issue #116: gevent backend consistently hangs after ~13 save_doc calls
Author: RonnyPfannschmidt
Created: 2012-01-30 12:07:30+00:00
State: open

doesn't happen with the thread backend
a simple test script is

for me calling it with thread as argument completes,
and for gevent it hangs after switching the line to 14

```python
import sys
from couchdbkit import Server
backend = sys.argv[1]

server = Server(backend=backend)
db = server.get_or_create_db('test_hangup_%s_backend'%backend)
db.flush()
for i in range(300):
sys.stdout.write('\r%s '%i)
sys.stdout.flush()
db.save_doc({'_id': str(i), 'data': i})
print '\r', backend, 'done'
```