Navigation Menu

Skip to content

Commit

Permalink
Fix an argument name
Browse files Browse the repository at this point in the history
  • Loading branch information
Netherdrake committed Jul 7, 2018
1 parent ad934c6 commit 6ac695b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conductor/utils.py
Expand Up @@ -38,7 +38,7 @@ def head_block_lag(steemd_instance) -> int:
return (dt.utcnow() - head_block_time).seconds


def wait_for_healthy_node(steem, blocks=100):
while head_block_lag(steem) > blocks:
def wait_for_healthy_node(steem, seconds=120):
while head_block_lag(steem) > seconds:
print("RPC Node %s is unhealthy. Skipping..." % steem.hostname)
steem.next_node()

0 comments on commit 6ac695b

Please sign in to comment.