mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
hibernate: Fix repeated "bytes" in comment
This commit is contained in:
parent
8b4d7447ae
commit
02e3e8eda5
@ -815,7 +815,7 @@ hibernate_soft_limit_reached(void)
|
|||||||
* We want to stop accepting connections when ALL of the following are true:
|
* We want to stop accepting connections when ALL of the following are true:
|
||||||
* - We expect to use up the remaining bytes in under 3 hours
|
* - We expect to use up the remaining bytes in under 3 hours
|
||||||
* - We have used up 95% of our bytes.
|
* - We have used up 95% of our bytes.
|
||||||
* - We have less than 500MBytes of bytes left.
|
* - We have less than 500MBytes left.
|
||||||
*/
|
*/
|
||||||
uint64_t soft_limit = (uint64_t) (acct_max * SOFT_LIM_PCT);
|
uint64_t soft_limit = (uint64_t) (acct_max * SOFT_LIM_PCT);
|
||||||
if (acct_max > SOFT_LIM_BYTES && acct_max - SOFT_LIM_BYTES > soft_limit) {
|
if (acct_max > SOFT_LIM_BYTES && acct_max - SOFT_LIM_BYTES > soft_limit) {
|
||||||
|
Loading…
Reference in New Issue
Block a user