summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--talpid-core/src/split_tunnel/windows/path_monitor.rs4
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])?