mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[vfs] increases file watcher buffer size on Windows (IDEA-156453)
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user