Skip to content

Commit

Permalink
Removed Logger.
Browse files Browse the repository at this point in the history
  • Loading branch information
MouseRider committed Apr 12, 2019
1 parent 1b974ad commit e67eebe
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/machine_gun.ex
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ defmodule MachineGun do

alias MachineGun.{Supervisor, Worker}

require Logger

@default_request_timeout 5000
@default_pool_timeout 1000
@default_pool_size 4
Expand Down Expand Up @@ -169,8 +167,6 @@ defmodule MachineGun do
|> Map.get(:conn_opts, %{})
)

Logger.info "Conn_ops before merge: #{inspect conn_opts}"

conn_opts =
%{
retry: 0,
Expand All @@ -180,8 +176,6 @@ defmodule MachineGun do
}
|> Map.merge(conn_opts)

Logger.info "Conn_ops after merge: #{inspect conn_opts}"

case ensure_pool(pool, host, port, size, max_overflow, conn_opts) do
:ok ->
do_request(pool, url, request, pool_timeout, request_timeout)
Expand Down

0 comments on commit e67eebe

Please sign in to comment.