From fe36ed6412f46e6090fde17d8437c66c55270c1e Mon Sep 17 00:00:00 2001 From: James Phillips Date: Wed, 29 Nov 2017 18:33:14 -0800 Subject: [PATCH] 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. --- lib/freeport/freeport.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/freeport/freeport.go b/lib/freeport/freeport.go index 882998314f..806449ba4a 100644 --- a/lib/freeport/freeport.go +++ b/lib/freeport/freeport.go @@ -16,7 +16,7 @@ const ( // 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 // application/test run. - blockSize = 500 + blockSize = 1500 // maxBlocks is the number of available port blocks. // lowPort + maxBlocks * blockSize must be less than 65535.