1
0
Fork 0

change hard designation to 5mb over instead of 50mb

refactor/models
Matthew 2020-05-03 15:58:56 -04:00
parent 321878d85d
commit 0a7ebc9f34
No known key found for this signature in database
GPG Key ID: 766BE43AE75F7559
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ export default function memory(client: Client) {
const userLimits: { soft?: number, hard?: number } = {};
const tier: TierInterface = await client.db.Tier.findOne({ id: acc.tier }).lean().exec();
userLimits.soft = tier.resourceLimits.ram;
userLimits.hard = tier.resourceLimits.ram + 50;
userLimits.hard = tier.resourceLimits.ram + 5;
/* if the user has exceeded their soft memory limit, which is the one described in the
resource limit guidelines, we'll inform staff.