Skip to content

Commit

Permalink
squashme
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaytonNorthey92 committed Jun 5, 2024
1 parent 1dd67cf commit 8910a54
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/localnet-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion service/tbc/tbc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 8910a54

Please sign in to comment.