This commit is contained in:
JackDoan
2025-11-08 12:03:47 -06:00
parent aab3333615
commit e0f93c9d4b
4 changed files with 49 additions and 48 deletions

View File

@@ -154,7 +154,7 @@ func newTun(c *config.C, l *logrus.Logger, vpnNetworks []netip.Prefix, multiqueu
vdev, err := vhostnet.NewDevice(
vhostnet.WithBackendFD(fd),
vhostnet.WithQueueSize(16), //todo config
vhostnet.WithQueueSize(8192), //todo config
)
if err != nil {
return nil, err