mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Merge pull request #854 from bigchaindb/fix-backlog_reassign_delay-hardcoded
Removed hardcoded backlog_reassign_delay.
This commit is contained in:
commit
848f771655
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user