summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2020-01-08 21:41:39 +1100
committerJesse Duffield <jessedduffield@gmail.com>2020-01-08 21:41:39 +1100
commitba4253668de57e723c2692683cec6a0c889b3649 (patch)
tree994efb5de799845051bbfabbd554c4b0cc7d850a
parent1ce5c69cd2ece7bb306f1340df3eac20bd74070e (diff)
reduce to 50
-rw-r--r--pkg/gui/file_watching.go2
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