From 8910a5492e769838496437786022473bf597336a Mon Sep 17 00:00:00 2001 From: ClaytonNorthey92 Date: Wed, 5 Jun 2024 17:22:38 -0400 Subject: [PATCH] squashme --- .github/workflows/localnet-test.yml | 6 ------ service/tbc/tbc.go | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) 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 {