diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-01-08 21:02:01 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-01-08 21:34:02 +1100 |
commit | 1ce5c69cd2ece7bb306f1340df3eac20bd74070e (patch) | |
tree | 5cd32b77141b2f570f8d980768d6dcfde8746f6b /pkg/updates | |
parent | 205d731d7be974abcece5e02cc351bd26101168c (diff) |
improve file watching
By default, macs have 256 open files allowed by a given process.
This sucks when you end up with over 256 files modified in a repo
because after you've watched all of them, lots of other calls to
the command line will fail due to violating the limit.
Given there's no easy platform agnostic way to see what you've got
configured for how many files a process can have open, I'm going to
arbitrarily set the max to 200 and when we hit the limit we start
unwatching older files to make way for new ones.
WIP
Diffstat (limited to 'pkg/updates')
0 files changed, 0 insertions, 0 deletions