Skip to content

Commit

Permalink
Merge branch 'release/2.6.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
zacksiri committed Dec 2, 2024
2 parents ab631d7 + 8dbb4ba commit 96cf073
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions lib/lexdee/observer.ex
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,17 @@ defmodule Lexdee.Observer do
Keyword.get(opts, :url) ||
"wss://#{base_uri.host}:#{base_uri.port}/1.0/events?type=#{type}"

timeout = Keyword.get(options, :timeout, 30_000)
transport_opts =
options
|> Keyword.get(:transport_opts, [])
|> Keyword.put(:timeout, timeout)

options =
options
|> List.flatten()
|> Keyword.put(:protocols, [:http1])
|> Keyword.put(:transport_opts, transport_opts)

Process.send_after(self(), :check_connectivity, 15_000)

Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Lexdee.MixProject do
def project do
[
app: :lexdee,
version: "2.6.2",
version: "2.6.3",
elixir: "~> 1.9",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
Expand Down

0 comments on commit 96cf073

Please sign in to comment.