Blockchain explorer for Ethereum based network and a tool for inspecting and analyzing EVM based blockchains.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
blockscout/config/runtime.exs

15 lines
246 B

import Config
import Bitwise
indexer_memory_limit =
"INDEXER_MEMORY_LIMIT"
|> System.get_env("1")
|> Integer.parse()
|> case do
{integer, ""} -> integer
_ -> 1
end
config :indexer,
memory_limit: indexer_memory_limit <<< 30