use a uint64 for stream counts

This commit is contained in:
Marten Seemann 2018-11-09 09:00:25 +07:00
parent e8de94485c
commit 0f931ca54e
7 changed files with 34 additions and 17 deletions

View file

@ -27,7 +27,7 @@ func (s *mockGenericStream) closeForShutdown(err error) {
var _ = Describe("Streams Map (incoming)", func() {
const (
firstNewStream protocol.StreamID = 20
maxNumStreams int = 10
maxNumStreams uint64 = 10
initialMaxStream protocol.StreamID = firstNewStream + 4*protocol.StreamID(maxNumStreams-1)
)