dont count timed-out as in-flight bytes
This commit is contained in:
@@ -27,7 +27,10 @@ struct FlowOnly : public CCAI {
|
||||
float timestamp;
|
||||
size_t bytes;
|
||||
|
||||
// set to true if counted as ce or resent due to timeout
|
||||
// unset if it does not count torwards _in_flight_bytes
|
||||
bool accounted {true};
|
||||
|
||||
// set if counted as ce or resent due to timeout
|
||||
bool ignore {false};
|
||||
};
|
||||
std::vector<FlyingBunch> _in_flight;
|
||||
@@ -71,7 +74,7 @@ struct FlowOnly : public CCAI {
|
||||
int64_t canSend(float time_delta) override;
|
||||
|
||||
// get the list of timed out seq_ids
|
||||
std::vector<SeqIDType> getTimeouts(void) const override;
|
||||
std::vector<SeqIDType> getTimeouts(void) override;
|
||||
|
||||
int64_t inFlightCount(void) const override;
|
||||
int64_t inFlightBytes(void) const override;
|
||||
|
||||
Reference in New Issue
Block a user