Add new wireguard options

This commit is contained in:
Sergei Maklagin
2025-12-08 22:32:33 +03:00
parent 984fc295b3
commit d8b470d1ba
11 changed files with 130 additions and 67 deletions

View File

@@ -124,8 +124,10 @@ func NewEndpoint(ctx context.Context, router adapter.Router, logger log.ContextL
Reserved: it.Reserved,
}
}),
Workers: options.Workers,
Amnezia: amnezia,
Workers: options.Workers,
PreallocatedBuffersPerPool: options.PreallocatedBuffersPerPool,
DisablePauses: options.DisablePauses,
Amnezia: amnezia,
})
if err != nil {
return nil, err