forked from engineering/cloudservices
change hard designation to 5mb over instead of 50mb
parent
321878d85d
commit
0a7ebc9f34
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue