Skip to content

Commit

Permalink
[core] Reordered MAX_FREQLOGFA.
Browse files Browse the repository at this point in the history
  • Loading branch information
maxsharabayko committed Aug 15, 2024
1 parent ffdaed9 commit c217ebb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions srtcore/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -948,10 +948,10 @@ class CUDT
int32_t m_iReXmitCount; // Re-Transmit Count since last ACK

static const size_t
MAX_FREQLOGFA = 3,
FREQLOGFA_ENCRYPTION_FAILURE = 0,
FREQLOGFA_RCV_DROPPED = 1,
FREQLOGFA_ACKACK_OUTOFORDER = 2;
FREQLOGFA_ACKACK_OUTOFORDER = 2,
MAX_FREQLOGFA = 3;

atomic_time_point m_tsLogSlowDown[MAX_FREQLOGFA]; // The last time a log message from the "slow down" group was shown.
// The "slow down" group of logs are those that can be printed too often otherwise, but can't be turned off (warnings and errors).
Expand Down

0 comments on commit c217ebb

Please sign in to comment.