Merge pull request #854 from bigchaindb/fix-backlog_reassign_delay-hardcoded

Removed hardcoded backlog_reassign_delay.
This commit is contained in:
Rodolphe Marques 2016-11-23 10:12:33 +01:00 committed by GitHub
commit 848f771655
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ config = {
'rate': 0.01,
},
'api_endpoint': os.environ.get('BIGCHAINDB_API_ENDPOINT') or 'http://localhost:9984/api/v1',
'backlog_reassign_delay': 30
'backlog_reassign_delay': 120
}
# We need to maintain a backup copy of the original config dict in case

View File

@ -67,7 +67,7 @@ def create_pipeline(timeout=5, backlog_reassign_delay=5):
return monitor_pipeline
def start(timeout=5, backlog_reassign_delay=5):
def start(timeout=5, backlog_reassign_delay=None):
"""Create, start, and return the block pipeline."""
pipeline = create_pipeline(timeout=timeout,
backlog_reassign_delay=backlog_reassign_delay)