|
|
|
@ -74,8 +74,8 @@ config :explorer, Explorer.Repo.Account, |
|
|
|
|
pool_size: ConfigHelper.parse_integer_env_var("ACCOUNT_POOL_SIZE", 10), |
|
|
|
|
queue_target: queue_target |
|
|
|
|
|
|
|
|
|
# Configure PolygonEdge database |
|
|
|
|
config :explorer, Explorer.Repo.PolygonEdge, |
|
|
|
|
# Configure Beacon Chain database |
|
|
|
|
config :explorer, Explorer.Repo.Beacon, |
|
|
|
|
database: database, |
|
|
|
|
hostname: hostname, |
|
|
|
|
url: System.get_env("DATABASE_URL"), |
|
|
|
@ -83,8 +83,8 @@ config :explorer, Explorer.Repo.PolygonEdge, |
|
|
|
|
# separating repos for different CHAIN_TYPE is implemented only for the sake of keeping DB schema update relevant to the current chain type |
|
|
|
|
pool_size: 1 |
|
|
|
|
|
|
|
|
|
# Configure PolygonZkevm database |
|
|
|
|
config :explorer, Explorer.Repo.PolygonZkevm, |
|
|
|
|
# Configures BridgedTokens database |
|
|
|
|
config :explorer, Explorer.Repo.BridgedTokens, |
|
|
|
|
database: database, |
|
|
|
|
hostname: hostname, |
|
|
|
|
url: System.get_env("DATABASE_URL"), |
|
|
|
@ -92,8 +92,8 @@ config :explorer, Explorer.Repo.PolygonZkevm, |
|
|
|
|
# separating repos for different CHAIN_TYPE is implemented only for the sake of keeping DB schema update relevant to the current chain type |
|
|
|
|
pool_size: 1 |
|
|
|
|
|
|
|
|
|
# Configure Rootstock database |
|
|
|
|
config :explorer, Explorer.Repo.RSK, |
|
|
|
|
# Configure PolygonEdge database |
|
|
|
|
config :explorer, Explorer.Repo.PolygonEdge, |
|
|
|
|
database: database, |
|
|
|
|
hostname: hostname, |
|
|
|
|
url: System.get_env("DATABASE_URL"), |
|
|
|
@ -101,8 +101,8 @@ config :explorer, Explorer.Repo.RSK, |
|
|
|
|
# separating repos for different CHAIN_TYPE is implemented only for the sake of keeping DB schema update relevant to the current chain type |
|
|
|
|
pool_size: 1 |
|
|
|
|
|
|
|
|
|
# Configure Beacon Chain database |
|
|
|
|
config :explorer, Explorer.Repo.Beacon, |
|
|
|
|
# Configure PolygonZkevm database |
|
|
|
|
config :explorer, Explorer.Repo.PolygonZkevm, |
|
|
|
|
database: database, |
|
|
|
|
hostname: hostname, |
|
|
|
|
url: System.get_env("DATABASE_URL"), |
|
|
|
@ -110,11 +110,13 @@ config :explorer, Explorer.Repo.Beacon, |
|
|
|
|
# separating repos for different CHAIN_TYPE is implemented only for the sake of keeping DB schema update relevant to the current chain type |
|
|
|
|
pool_size: 1 |
|
|
|
|
|
|
|
|
|
# Configure Suave database |
|
|
|
|
config :explorer, Explorer.Repo.Suave, |
|
|
|
|
# Configure Rootstock database |
|
|
|
|
config :explorer, Explorer.Repo.RSK, |
|
|
|
|
database: database, |
|
|
|
|
hostname: hostname, |
|
|
|
|
url: ExplorerConfigHelper.get_suave_db_url(), |
|
|
|
|
url: System.get_env("DATABASE_URL"), |
|
|
|
|
# actually this repo is not started, and its pool size remains unused. |
|
|
|
|
# separating repos for different CHAIN_TYPE is implemented only for the sake of keeping DB schema update relevant to the current chain type |
|
|
|
|
pool_size: 1 |
|
|
|
|
|
|
|
|
|
# Configure Shibarium database |
|
|
|
@ -124,13 +126,11 @@ config :explorer, Explorer.Repo.Shibarium, |
|
|
|
|
url: System.get_env("DATABASE_URL"), |
|
|
|
|
pool_size: 1 |
|
|
|
|
|
|
|
|
|
# Configures BridgedTokens database |
|
|
|
|
config :explorer, Explorer.Repo.BridgedTokens, |
|
|
|
|
# Configure Suave database |
|
|
|
|
config :explorer, Explorer.Repo.Suave, |
|
|
|
|
database: database, |
|
|
|
|
hostname: hostname, |
|
|
|
|
url: System.get_env("DATABASE_URL"), |
|
|
|
|
# actually this repo is not started, and its pool size remains unused. |
|
|
|
|
# separating repos for different CHAIN_TYPE is implemented only for the sake of keeping DB schema update relevant to the current chain type |
|
|
|
|
url: ExplorerConfigHelper.get_suave_db_url(), |
|
|
|
|
pool_size: 1 |
|
|
|
|
|
|
|
|
|
variant = Variant.get() |
|
|
|
|