Changeset 2560
- Timestamp:
- 17/09/2009 23:23:39 (2 years ago)
- File:
-
- 1 edited
-
box/trunk/bin/bbstoreaccounts/bbstoreaccounts.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
box/trunk/bin/bbstoreaccounts/bbstoreaccounts.cpp
r2493 r2560 46 46 void CheckSoftHardLimits(int64_t SoftLimit, int64_t HardLimit) 47 47 { 48 if(SoftLimit > =HardLimit)48 if(SoftLimit > HardLimit) 49 49 { 50 50 BOX_FATAL("Soft limit must be less than the hard limit."); … … 53 53 if(SoftLimit > ((HardLimit * MAX_SOFT_LIMIT_SIZE) / 100)) 54 54 { 55 BOX_FATAL("Soft limit must be no more than " << 56 MAX_SOFT_LIMIT_SIZE << "% of the hard limit."); 57 exit(1); 55 BOX_WARNING("We recommend setting the soft limit below " << 56 MAX_SOFT_LIMIT_SIZE << "% of the hard limit, or " << 57 HumanReadableSize((HardLimit * MAX_SOFT_LIMIT_SIZE) 58 / 100) << " in this case."); 58 59 } 59 60 }
Note: See TracChangeset
for help on using the changeset viewer.
