Bumps freeport's block size.
We were seeing some rollover artifacts where something would be shut down so a port could be re-used, but it was still being referenced by some running thing. This gives more time before rolling over.
This commit is contained in:
parent
9e9690f0be
commit
82a22d57e5
|
@ -16,7 +16,7 @@ const (
|
||||||
// blockSize is the size of the allocated port block. ports are given out
|
// blockSize is the size of the allocated port block. ports are given out
|
||||||
// consecutively from that block with roll-over for the lifetime of the
|
// consecutively from that block with roll-over for the lifetime of the
|
||||||
// application/test run.
|
// application/test run.
|
||||||
blockSize = 500
|
blockSize = 1500
|
||||||
|
|
||||||
// maxBlocks is the number of available port blocks.
|
// maxBlocks is the number of available port blocks.
|
||||||
// lowPort + maxBlocks * blockSize must be less than 65535.
|
// lowPort + maxBlocks * blockSize must be less than 65535.
|
||||||
|
|
Loading…
Reference in New Issue