[vfs] increases file watcher buffer size on Windows (IDEA-156453)

This commit is contained in:
Roman Shevchenko
2016-05-24 16:33:06 +02:00
parent 4c3c2a1b8f
commit 601c9319b8
3 changed files with 1 additions and 1 deletions
Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -306,7 +306,7 @@ DWORD WINAPI WatcherThread(void *param) {
HANDLE hRootDir = CreateFileA(rootPath, GENERIC_READ, FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE,
NULL, OPEN_EXISTING, FILE_FLAG_BACKUP_SEMANTICS | FILE_FLAG_OVERLAPPED, NULL);
int buffer_size = 10240;
int buffer_size = 1024 * 1024;
char *buffer = new char[buffer_size];
HANDLE handles[2];