commit 02e3e8eda5d0e3d02bd578511b4bb1a5179a1379
parent 8b4d7447ae2bc4929e41c0b916f4690ebbc7b9ec
Author: teor <teor@torproject.org>
Date: Sun, 20 Oct 2019 22:08:23 +1000
hibernate: Fix repeated "bytes" in comment
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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) {