Use longs to represent session capacity.

4 jobs for !1635 with 2226-defer-marking-messages-and-acks-as-sent in 11 minutes and 21 seconds (queued for 54 seconds)
latest merge request