- # the second table is our list of outstanding queries: those which
- # are in flight and may or may not be delivered, accepted, or
- # acknowledged. Items are added to this table when the request is
- # sent, and removed when the response returns (or errbacks).
- self.outstanding = set() # (peerid, shnum) tuples
+ # the number of outstanding queries: those that are in flight and
+ # may or may not be delivered, accepted, or acknowledged. This is
+ # incremented when a query is sent, and decremented when the response
+ # returns or errbacks.
+ self.num_outstanding = 0