Skip to content

Commit

Permalink
change default timeout to 180 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
zacksiri committed Apr 12, 2024
1 parent f79ef82 commit 06bd648
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/runtime.exs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ config :uplink, Uplink.Data,
mode: uplink_mode,
project: project_name

config :uplink, :lxd, timeout: System.get_env("LXD_CLIENT_TIMEOUT", "30")
config :uplink, :lxd, timeout: System.get_env("LXD_CLIENT_TIMEOUT", "180")

config :uplink, :polar, endpoint: System.get_env("POLAR_ENDPOINT")

Expand Down
2 changes: 1 addition & 1 deletion lib/uplink/clients/lxd.ex
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ defmodule Uplink.Clients.LXD do

timeout =
options
|> Keyword.get(:timeout, "30")
|> Keyword.get(:timeout, "180")
|> String.to_integer()

endpoint =
Expand Down

0 comments on commit 06bd648

Please sign in to comment.