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:
James Phillips 2017-11-29 18:33:14 -08:00
parent 9e9690f0be
commit 82a22d57e5
No known key found for this signature in database
GPG Key ID: 77183E682AC5FC11
1 changed files with 1 additions and 1 deletions

View File

@ -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.