hibernate: Fix repeated "bytes" in comment

This commit is contained in:
teor 2019-10-20 22:08:23 +10:00
parent 8b4d7447ae
commit 02e3e8eda5
No known key found for this signature in database
GPG Key ID: 10FEAA0E7075672A

View File

@ -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) {