Skip to content
Browse files

Changed client timeout increment for changes() calls to 1 second

  • Loading branch information...
1 parent cb79e28 commit 3485debbb324c159ca9e1e1ea8bc67192d2e8e56 @bjorkegeek bjorkegeek committed May 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 trombi/client.py
View
2 trombi/client.py
@@ -677,7 +677,7 @@ def _stream(text):
if timeout is not None:
# CouchDB takes timeouts in milliseconds
couchdb_params['timeout'] = timeout * 1000
- params['request_timeout'] = timeout + 20
+ params['request_timeout'] = timeout + 1
url = '_changes?%s' % urlencode(couchdb_params)
if feed == 'continuous':
params['streaming_callback'] = _stream

0 comments on commit 3485deb

Please sign in to comment.
Something went wrong with that request. Please try again.