harmonytask: linter

This commit is contained in:
Andrew Jackson (Ajax) 2023-08-16 17:54:26 -05:00
parent 497e4e5ab5
commit 11c33b6faf
2 changed files with 2 additions and 5 deletions

View File

@ -9,10 +9,9 @@ import (
"sync/atomic"
"time"
"github.com/filecoin-project/lotus/lib/harmony/harmonydb"
"github.com/filecoin-project/lotus/lib/harmony/resources"
"github.com/gorilla/mux"
"github.com/filecoin-project/lotus/lib/harmony/harmonydb"
)
// Consts (except for unit test)

View File

@ -16,10 +16,8 @@ import (
"github.com/filecoin-project/lotus/lib/harmony/harmonydb"
logging "github.com/ipfs/go-log/v2"
"github.com/pbnjay/memory"
"golang.org/x/sys/unix"
"github.com/samber/lo"
"golang.org/x/sys/unix"
)
var LOOKS_DEAD_TIMEOUT = 10 * time.Minute // Time w/o minute heartbeats