Skip to content

Commit

Permalink
Increase timeout for token balance fetcher + production db connection…
Browse files Browse the repository at this point in the history
… pool.
  • Loading branch information
rkachowski committed Jan 23, 2024
1 parent 24bc5bc commit 245b6db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/explorer/config/prod.exs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Config
# Configures the database
config :explorer, Explorer.Repo.Local,
prepare: :unnamed,
timeout: :timer.seconds(60),
timeout: :timer.minutes(3),
migration_lock: nil,
telemetry_prefix: [:explorer, :repo]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ defmodule Explorer.Chain.Import.Runner.Address.TokenBalances do
@behaviour Import.Runner

# milliseconds
@timeout 60_000
@timeout 120_000

@type imported :: [TokenBalance.t()]

Expand Down

0 comments on commit 245b6db

Please sign in to comment.