From: Arun Prakash Jana Date: Sat, 14 Mar 2020 01:21:52 +0000 (+0530) Subject: Increase number of events handled X-Git-Tag: v3.1~85 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=0ef2b61a170ae691f8e59466aa6b723cdc884d72;p=nnn.git Increase number of events handled --- diff --git a/src/nnn.c b/src/nnn.c index f5ee9330..76d448b9 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -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;