Edwin Fine
Edwin Fine
You could do it like this: ~~~ Streams = h2_connection:get_streams(H2Pid), MCS = (Streams#stream_set.mine)#peer_subset.max_active. ~~~ `Streams` would look something like this: ~~~ #stream_set{type = client, mine = #peer_subset{max_active = 1000,active_count =...
I didn't notice there was a specific accessor you can use to get MCS. This code avoids needing to know the internals: ~~~ StreamSet = h2_connection:get_streams(H2Pid), MCS = h2_stream_set:my_max_active(StreamSet). ~~~...
> It would be nice for people to be able to run the tests even if they don't have the Postgis stuff installed. This is especially true when installing postgis...