mirror of https://github.com/status-im/consul.git
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
a3f9603d19
commit
fe36ed6412
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue