lanto03 / couchdb-python

Automatically exported from code.google.com/p/couchdb-python
Other
0 stars 0 forks source link

replication_helper wait_threshold default should be > 0 #48

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Using the default wait_threshold replication_helper.py pegs the CPU repeatedly 
trying to read from 
stdin.  I'd suggest a default of 1 second, instead.

Original issue reported on code.google.com by adam.kocoloski@gmail.com on 8 Jan 2009 at 8:59

GoogleCodeExporter commented 8 years ago
To be as backward compatible as possible, i suggest a default wait_threshold of 
0.01 - this would still reduce 
cpu load greatly while keeping the delay not to far away from http latency.

Original comment by mdorns...@gmail.com on 14 Feb 2009 at 3:20

GoogleCodeExporter commented 8 years ago
Changed to 0.01 as suggested in r179.

Original comment by cmlenz on 2 Jul 2009 at 1:09