aboutsummaryrefslogtreecommitdiff
path: root/src/feature/hibernate
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2019-10-20 22:08:23 +1000
committerteor <teor@torproject.org>2019-10-20 22:08:23 +1000
commit02e3e8eda5d0e3d02bd578511b4bb1a5179a1379 (patch)
tree2b3a16328791fd6446f2a96175caa7646df5d6c7 /src/feature/hibernate
parent8b4d7447ae2bc4929e41c0b916f4690ebbc7b9ec (diff)
downloadtor-02e3e8eda5d0e3d02bd578511b4bb1a5179a1379.tar.gz
tor-02e3e8eda5d0e3d02bd578511b4bb1a5179a1379.zip
hibernate: Fix repeated "bytes" in comment
Diffstat (limited to 'src/feature/hibernate')
-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) {