diff options
author | Jordan Whited <jordan@tailscale.com> | 2023-03-09 13:02:17 -0800 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2023-03-10 14:53:09 +0100 |
commit | f41f47446684028b1529653a505c0538b56ac91f (patch) | |
tree | 76fb64b9468a3083cb52ee777863ea3f8f02f58f /conn/boundif_android.go | |
parent | 5819c6af28239b973958a8d197f9e39926e7b9f1 (diff) |
conn: make StdNetBind.BatchSize() return 1 for non-Linux
This commit updates StdNetBind.BatchSize() to return 1 instead of
IdealBatchSize for non-Linux platforms. Non-Linux platforms do not
yet benefit from values > 1, which only serves to increase memory
consumption.
Reviewed-by: James Tucker <james@tailscale.com>
Signed-off-by: Jordan Whited <jordan@tailscale.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'conn/boundif_android.go')
0 files changed, 0 insertions, 0 deletions