summaryrefslogtreecommitdiff
path: root/mix.exs
diff options
context:
space:
mode:
authorBen Busby <noreply+git@benbusby.com>2021-10-21 21:15:58 -0600
committerBen Busby <noreply+git@benbusby.com>2021-10-21 21:15:58 -0600
commitb0953f07779a4fc6fdfe650a872c4e39251db3ee (patch)
tree2831514760005b3b0ad2acc8dc0b579e875d49bf /mix.exs
parentcf8dfc5a85a7d655fef36ce735472a16635d8b7a (diff)
downloadfarside-b0953f07779a4fc6fdfe650a872c4e39251db3ee.tar.gz
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.
Diffstat (limited to 'mix.exs')
-rw-r--r--mix.exs3
1 files changed, 2 insertions, 1 deletions
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