summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2019-10-20 22:09:00 +1000
committerteor <teor@torproject.org>2019-10-20 22:09:00 +1000
commit042116e1fd4d57142b47943f57f6cea79ee941c4 (patch)
treec3625209263abfc08c47b13fb2ff0f99b7dea0c0
parentaab5d90858beb7eb9738c237dab5bcb7dd6ce91f (diff)
parent02e3e8eda5d0e3d02bd578511b4bb1a5179a1379 (diff)
downloadtor-042116e1fd4d57142b47943f57f6cea79ee941c4.tar.gz
tor-042116e1fd4d57142b47943f57f6cea79ee941c4.zip
Merge branch 'maint-0.4.2'
-rw-r--r--src/feature/hibernate/hibernate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/hibernate/hibernate.c b/src/feature/hibernate/hibernate.c
index d3a1d23095..f7847d9a16 100644
--- a/src/feature/hibernate/hibernate.c
+++ b/src/feature/hibernate/hibernate.c
@@ -815,7 +815,7 @@ hibernate_soft_limit_reached(void)
* 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 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);
if (acct_max > SOFT_LIM_BYTES && acct_max - SOFT_LIM_BYTES > soft_limit) {