Commit f11dbe30 authored by Hamdi Allam's avatar Hamdi Allam

remove defaultDialTimeout in indexer.go

parent 8ecec105
...@@ -3,7 +3,6 @@ package indexer ...@@ -3,7 +3,6 @@ package indexer
import ( import (
"fmt" "fmt"
"os" "os"
"time"
"github.com/ethereum-optimism/optimism/indexer/database" "github.com/ethereum-optimism/optimism/indexer/database"
"github.com/ethereum-optimism/optimism/indexer/flags" "github.com/ethereum-optimism/optimism/indexer/flags"
...@@ -15,12 +14,6 @@ import ( ...@@ -15,12 +14,6 @@ import (
"github.com/urfave/cli" "github.com/urfave/cli"
) )
const (
// defaultDialTimeout is default duration the service will wait on
// startup to make a connection to either the L1 or L2 backends.
defaultDialTimeout = 5 * time.Second
)
// Main is the entrypoint into the indexer service. This method returns // Main is the entrypoint into the indexer service. This method returns
// a closure that executes the service and blocks until the service exits. The // a closure that executes the service and blocks until the service exits. The
// use of a closure allows the parameters bound to the top-level main package, // use of a closure allows the parameters bound to the top-level main package,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment