bigchaindb / bigchaindb-driver

Official Python driver for BigchainDB
https://www.bigchaindb.com
Apache License 2.0
104 stars 104 forks source link

Problem: timeout is not passed to backoff capper. #471

Closed ldmberman closed 6 years ago

ldmberman commented 6 years ago

Solution: pass timeout to backoff capper so that the cap depends on the timeout.

codecov-io commented 6 years ago

Codecov Report

Merging #471 into master will increase coverage by 0.01%. The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #471      +/-   ##
==========================================
+ Coverage   98.72%   98.74%   +0.01%     
==========================================
  Files           5        5              
  Lines         236      239       +3     
==========================================
+ Hits          233      236       +3     
  Misses          3        3
ldmberman commented 6 years ago

The timeout (half of it) actually needs to be static otherwise we approach the very frequent retries again - I will fix it.