summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBen Busby <contact@benbusby.com>2022-03-18 13:59:35 -0600
committerBen Busby <contact@benbusby.com>2022-03-18 13:59:35 -0600
commit1be19a8a298aa0e25481491304e20322c85c97e7 (patch)
treef45561a512a005c9ba412cd4311bfac180085cb4 /lib
parent22e9135e0ce6d67fdfc3308171c3db321bf154f8 (diff)
downloadfarside-1be19a8a298aa0e25481491304e20322c85c97e7.tar.gz
Update throttle test to reflect new behavior
The "throttling" performed by Farside now redirects to the same instance as before, rather than outright blocking the connection.
Diffstat (limited to 'lib')
-rw-r--r--lib/farside/router.ex2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/farside/router.ex b/lib/farside/router.ex
index f037ee2..2419055 100644
--- a/lib/farside/router.ex
+++ b/lib/farside/router.ex
@@ -46,8 +46,6 @@ defmodule Farside.Router do
true ->
Farside.pick_instance(service)
end
- IO.inspect(get_req_header(conn, "throttle"))
- IO.inspect(instance)
params =
cond do