Skip to content

Commit

Permalink
higher limits
Browse files Browse the repository at this point in the history
  • Loading branch information
mathisonian committed Mar 3, 2021
1 parent d5bea54 commit 1dc3e6e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ jobs:
- name: Increase file limits
if: matrix.os == 'macos-latest' && startsWith(github.ref, 'refs/tags/')
run: |
echo kern.maxfiles=65536 | sudo tee -a /etc/sysctl.conf
echo kern.maxfilesperproc=65536 | sudo tee -a /etc/sysctl.conf
sudo sysctl -w kern.maxfiles=65536
sudo sysctl -w kern.maxfilesperproc=65536
ulimit -n 65536
sudo launchctl limit maxfiles 10240 unlimited
echo kern.maxfiles=524288 | sudo tee -a /etc/sysctl.conf
echo kern.maxfilesperproc=524288 | sudo tee -a /etc/sysctl.conf
sudo sysctl -w kern.maxfiles=524288
sudo sysctl -w kern.maxfilesperproc=524288
ulimit -n 524288
sudo launchctl limit maxfiles 524288 unlimited
- name: Install dependencies
run: npm i
Expand Down

0 comments on commit 1dc3e6e

Please sign in to comment.