From b0953f07779a4fc6fdfe650a872c4e39251db3ee Mon Sep 17 00:00:00 2001 From: Ben Busby Date: Thu, 21 Oct 2021 21:15:58 -0600 Subject: Validate status code for all service instances Updated to filter out all instances that either time out (I believe default timeout for HTTPoison is 5s) or return a non-200 status code. --- mix.exs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mix.exs') diff --git a/mix.exs b/mix.exs index 0d0c8d0..1108a0f 100644 --- a/mix.exs +++ b/mix.exs @@ -24,7 +24,8 @@ defmodule RouterExample.MixProject do [ {:jason, "~> 1.1"}, {:plug_cowboy, "~> 2.0"}, - {:poison, "~> 5.0"} + {:poison, "~> 5.0"}, + {:httpoison, "~> 1.8"} ] end end -- cgit v1.2.3