note 1337

This commit is contained in:
tdsgit 2017-04-21 23:05:28 +05:30
parent 5edac3f4ee
commit 5550e0986e

View File

@ -40,6 +40,9 @@ class RethinkDBConnection(Connection):
:exc:`rethinkdb.ReqlDriverError`: After
:attr:`~.RethinkDBConnection.max_tries`.
"""
# NOTE: fix for timeout not initialized on rethinkdb connection
# https://github.com/bigchaindb/bigchaindb/issues/1337
connected=False
dbconf = bigchaindb.config['database']
timeout = dbconf['connection_timeout']