Skip to content

Commit

Permalink
update interop deps and fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
tony612 committed Dec 24, 2019
1 parent d39c393 commit f940271
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 1 deletion.
Binary file added interop/dump-50051 copy.pcap
Binary file not shown.
Binary file added interop/dump-50051.pcap
Binary file not shown.
1 change: 1 addition & 0 deletions interop/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ defmodule Interop.MixProject do
defp deps do
[
{:grpc, path: "..", override: true},
{:cowlib, "~> 2.8.0", hex: :grpc_cowlib, override: true},
{:grpc_prometheus, github: "tony612/elixir-grpc-prometheus"},
{:grpc_statsd, "~> 0.1.0"},
{:statix, ">= 1.2.1"},
Expand Down
2 changes: 1 addition & 1 deletion lib/grpc/adapter/gun.ex
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ defmodule GRPC.Adapter.Gun do
end
end

def retry_fun(retries, opts) do
def retry_fun(retries, _opts) do
curr = @max_retries - retries + 1
timeout =
if curr < 11 do
Expand Down
4 changes: 4 additions & 0 deletions lib/grpc/record.ex
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
defmodule FooRecord do
require Record
Record.defrecord(:user, name: "meg", age: "25")
end

0 comments on commit f940271

Please sign in to comment.