mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Document BIDI_* constants.
This commit is contained in:
parent
f56529b4b2
commit
c3c6a6ed34
@ -2431,10 +2431,17 @@ rep_hist_conn_stats_init(time_t now)
|
||||
start_of_conn_stats_interval = now;
|
||||
}
|
||||
|
||||
/* Count connections that we read and wrote less than these many bytes
|
||||
* from/to as below threshold. */
|
||||
#define BIDI_THRESHOLD 20480
|
||||
|
||||
/* Count connections that we read or wrote at least this factor as many
|
||||
* bytes from/to than we wrote or read to/from as mostly reading or
|
||||
* writing. */
|
||||
#define BIDI_FACTOR 10
|
||||
|
||||
/* Interval length in seconds for considering read and written bytes for
|
||||
* connection stats. */
|
||||
#define BIDI_INTERVAL 10
|
||||
|
||||
/* Start of next BIDI_INTERVAL second interval. */
|
||||
|
Loading…
Reference in New Issue
Block a user