Skip to content

Commit

Permalink
减少 Windows 系统内存占用
Browse files Browse the repository at this point in the history
  • Loading branch information
lanthora committed Dec 10, 2023
1 parent 82cd3dc commit 7a33815
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tun/windows.cc
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class WindowsTun {
return -1;
}

this->session = WintunStartSession(this->adapter, WINTUN_MAX_RING_CAPACITY);
this->session = WintunStartSession(this->adapter, WINTUN_MIN_RING_CAPACITY);
if (!this->session) {
spdlog::critical("start wintun session failed");
return -1;
Expand Down

0 comments on commit 7a33815

Please sign in to comment.