|
|
@ -38,7 +38,7 @@ config :explorer, Explorer.Repo.Account, |
|
|
|
timeout: :timer.seconds(60), |
|
|
|
timeout: :timer.seconds(60), |
|
|
|
queue_target: 1000 |
|
|
|
queue_target: 1000 |
|
|
|
|
|
|
|
|
|
|
|
for repo <- [Explorer.Repo.PolygonEdge, Explorer.Repo.RSK] do |
|
|
|
for repo <- [Explorer.Repo.PolygonEdge, Explorer.Repo.PolygonZkevm, Explorer.Repo.RSK] do |
|
|
|
config :explorer, repo, |
|
|
|
config :explorer, repo, |
|
|
|
database: "explorer_test", |
|
|
|
database: "explorer_test", |
|
|
|
hostname: "localhost", |
|
|
|
hostname: "localhost", |
|
|
@ -49,15 +49,6 @@ for repo <- [Explorer.Repo.PolygonEdge, Explorer.Repo.RSK] do |
|
|
|
queue_target: 1000 |
|
|
|
queue_target: 1000 |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
config :explorer, Explorer.Repo.PolygonZkevm, |
|
|
|
|
|
|
|
database: "explorer_test", |
|
|
|
|
|
|
|
hostname: "localhost", |
|
|
|
|
|
|
|
pool: Ecto.Adapters.SQL.Sandbox, |
|
|
|
|
|
|
|
# Default of `5_000` was too low for `BlockFetcher` test |
|
|
|
|
|
|
|
ownership_timeout: :timer.minutes(1), |
|
|
|
|
|
|
|
timeout: :timer.seconds(60), |
|
|
|
|
|
|
|
queue_target: 1000 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
config :logger, :explorer, |
|
|
|
config :logger, :explorer, |
|
|
|
level: :warn, |
|
|
|
level: :warn, |
|
|
|
path: Path.absname("logs/test/explorer.log") |
|
|
|
path: Path.absname("logs/test/explorer.log") |
|
|
|