Skip to content

Commit

Permalink
Remove hardcoded blockdiff (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
SidSethi committed Feb 6, 2020
1 parent bc40b0c commit 256e3c6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion discovery-provider/src/queries/health_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ def health_check():

# Return error on unhealthy block diff if requested.
enforce_block_diff = request.args.get("enforce_block_diff", type=str) == 'true'
health_results["block_difference"] = 200
if enforce_block_diff and health_results["block_difference"] > HEALTHY_BLOCK_DIFF:
return jsonify(health_results), 500

Expand Down

0 comments on commit 256e3c6

Please sign in to comment.