From 0a7ebc9f34f560f954fa5f6f58d4c2fffefe04cd Mon Sep 17 00:00:00 2001 From: Matthew R Date: Sun, 3 May 2020 15:58:56 -0400 Subject: [PATCH] change hard designation to 5mb over instead of 50mb --- src/intervals/memory.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intervals/memory.ts b/src/intervals/memory.ts index 443a69f..a75b5ca 100644 --- a/src/intervals/memory.ts +++ b/src/intervals/memory.ts @@ -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.