mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-06-09 22:43:33 -07:00
parser: fix ulimit only running in Mac OS
This commit is contained in:
+1
-1
@@ -7,9 +7,9 @@
|
||||
### App
|
||||
|
||||
- General
|
||||
- Added height datasets and many optimizations to make them usable
|
||||
- Added a light theme
|
||||
- Charts
|
||||
- Added height datasets and many optimizations to make them usable
|
||||
- Added split panes in order to have the vertical axis visible for all datasets
|
||||
- Added min and max values on the charts
|
||||
- Fixed legend hovering on mobile not resetting on touch end
|
||||
|
||||
+4
-2
@@ -2,15 +2,17 @@
|
||||
|
||||
# https://stackoverflow.com/questions/31389483/find-and-delete-file-or-folder-older-than-x-days
|
||||
|
||||
# For Mac OS users
|
||||
if [ "$(uname)" == "Darwin" ]; then
|
||||
if command -v ulimit &> /dev/null; then
|
||||
echo "Increasing limit of opened files..."
|
||||
ulimit -n 1000000 # Can't be $(ulimit -Hn), bitcoind needs some too !
|
||||
|
||||
# Needed because the datasets tree is too big lol
|
||||
echo "Increasing stack size..."
|
||||
ulimit -s $(ulimit -Hs)
|
||||
fi
|
||||
|
||||
# For Mac OS users
|
||||
if [ "$(uname)" == "Darwin" ]; then
|
||||
if mdutil -s / | grep "enabled"; then
|
||||
echo "Disabling spotlight indexing..."
|
||||
sudo mdutil -a -i off &> /dev/null
|
||||
|
||||
Reference in New Issue
Block a user