diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-01-08 21:41:39 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-01-08 21:41:39 +1100 |
commit | ba4253668de57e723c2692683cec6a0c889b3649 (patch) | |
tree | 994efb5de799845051bbfabbd554c4b0cc7d850a /pkg/gui/file_watching.go | |
parent | 1ce5c69cd2ece7bb306f1340df3eac20bd74070e (diff) |
reduce to 50
Diffstat (limited to 'pkg/gui/file_watching.go')
-rw-r--r-- | pkg/gui/file_watching.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/file_watching.go b/pkg/gui/file_watching.go index 9ad7f68c4..9a7c8a9b2 100644 --- a/pkg/gui/file_watching.go +++ b/pkg/gui/file_watching.go @@ -14,7 +14,7 @@ import ( // there's no obvious platform agonstic way to check the situation of the user's // computer so we're just arbitrarily capping at 200. This isn't so bad because // file watching is only really an added bonus for faster refreshing. -const MAX_WATCHED_FILES = 200 +const MAX_WATCHED_FILES = 50 type fileWatcher struct { Watcher *fsnotify.Watcher |