fix memory checking issue

merge-requests/4/head
Matthew 2020-03-29 05:59:57 -04:00
parent c5ddad81c7
commit c4541b7ec0
No known key found for this signature in database
GPG Key ID: 766BE43AE75F7559
1 changed files with 0 additions and 2 deletions

View File

@ -24,7 +24,6 @@ export default function memory(client: Client) {
const mem = Number(await client.util.exec(`memory ${acc.username}`)) * 1000;
// memory in megabytes
const memoryConversion = mem / 1024 / 1024;
console.log(memoryLimits);
const userLimits: { soft?: number, hard?: number } = {};
switch (acc.tier) {
case 1:
@ -42,7 +41,6 @@ export default function memory(client: Client) {
default:
break;
}
console.log(userLimits);
/* if the user has exceeded their soft memory limit, which is the one described in the
resource limit guidelines, we'll inform staff.