diff --git a/.github/workflows/localnet-test.yml b/.github/workflows/localnet-test.yml index c80fc5086..c59852e57 100644 --- a/.github/workflows/localnet-test.yml +++ b/.github/workflows/localnet-test.yml @@ -32,12 +32,6 @@ jobs: cache: true check-latest: true - - name: "increase -n ulimits" - run: sudo sh -c "ulimit -n unlimited" - - - name: "increase -l ulimits" - run: sudo sh -c "ulimit -l unlimited" - - name: "Download and verify dependencies" run: make deps diff --git a/service/tbc/tbc.go b/service/tbc/tbc.go index f8dac1812..4d2bb65a6 100644 --- a/service/tbc/tbc.go +++ b/service/tbc/tbc.go @@ -1662,7 +1662,7 @@ func (s *Server) Run(pctx context.Context) error { // We need a lot of open files and memory for the indexes. Best effort // to echo to the user what the ulimits are. - if s.ignoreUlimit { + if s.ignoreUlimit || s.cfg.Network == networkLocalnet { log.Warningf("ignoring ulimit requirements") } else if ulimitSupported { if err := verifyUlimits(); err != nil {