diff options
| author | David Lönnhager <david.l@mullvad.net> | 2021-09-28 15:19:58 +0200 |
|---|---|---|
| committer | David Lönnhager <david.l@mullvad.net> | 2021-09-28 15:19:58 +0200 |
| commit | 43af2efbf65aeb730a2e4796a337a08d756e4e42 (patch) | |
| tree | 868a26deb2e1e8daa319fb63879d1b3bbbdd377e | |
| parent | 029c174cd64d46986405fad4b9a47b70a81164c0 (diff) | |
| parent | 358d65755b29874d1e61d6e876ec9dadbf342eab (diff) | |
| download | mullvadvpn-43af2efbf65aeb730a2e4796a337a08d756e4e42.tar.xz mullvadvpn-43af2efbf65aeb730a2e4796a337a08d756e4e42.zip | |
Merge branch 'win-event-expand-buf-size'
| -rw-r--r-- | talpid-core/src/split_tunnel/windows/path_monitor.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/talpid-core/src/split_tunnel/windows/path_monitor.rs b/talpid-core/src/split_tunnel/windows/path_monitor.rs index 2bac1d6e16..6f283f8c1e 100644 --- a/talpid-core/src/split_tunnel/windows/path_monitor.rs +++ b/talpid-core/src/split_tunnel/windows/path_monitor.rs @@ -278,7 +278,7 @@ impl DirContext { Ok(DirContext { path: path.as_ref().to_path_buf(), dir_handle, - buffer: vec![0u8; 4096], + buffer: vec![0u8; 16 * 1024], overlapped: Box::pin(unsafe { mem::zeroed() }), _io_completion_port: io_completion_port, }) @@ -650,7 +650,7 @@ impl PathMonitor { ))?; let changed = if result.bytes_returned == 0 { - log::debug!("Change event buffer is empty"); + log::trace!("Change event buffer is empty"); false } else { self.process_file_notification(&self.dir_contexts[ctx_index])? |
