diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2020-03-14 06:51:52 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2020-03-14 06:51:52 +0530 |
commit | 0ef2b61a170ae691f8e59466aa6b723cdc884d72 (patch) | |
tree | 12fa2d4aeb439a521f31cee5e6d55b82707ef6f4 | |
parent | 2d952795a848a8430e5ffcc5613fcedcd0d860b3 (diff) | |
download | nnn-0ef2b61a170ae691f8e59466aa6b723cdc884d72.tar.gz |
Increase number of events handled
-rw-r--r-- | src/nnn.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -631,7 +631,7 @@ static const char * const patterns[] = { /* Event handling */ #ifdef LINUX_INOTIFY -#define NUM_EVENT_SLOTS 8 /* Make room for 8 events */ +#define NUM_EVENT_SLOTS 32 /* Make room for 8 events */ #define EVENT_SIZE (sizeof(struct inotify_event)) #define EVENT_BUF_LEN (EVENT_SIZE * NUM_EVENT_SLOTS) static int inotify_fd, inotify_wd = -1; |