Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit b33fa3b

Browse files
committed
cleanup
1 parent 6b669e7 commit b33fa3b

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

actions/memDump.js

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,17 @@
11
/*
22
* Copyright (C) 2014 TopCoder Inc., All Rights Reserved.
3-
*
4-
* @version 1.1
5-
* @author Ghost_141
6-
* Changes in 1.1:
7-
* - Add technologies and platforms filter.
83
*/
94
"use strict";
105
var heapdump = require('heapdump');
116

12-
var async = require('async');
13-
var _ = require('underscore');
14-
var fs = require('fs');
15-
var BadRequestError = require('../errors/BadRequestError');
16-
var UnauthorizedError = require('../errors/UnauthorizedError');
17-
var ForbiddenError = require('../errors/ForbiddenError');
18-
19-
207
exports.dumpMemory = {
218
name: 'dumpMemory',
229
description: 'dump memory',
2310
inputs: {
2411
required: [],
2512
optional: []
2613
},
27-
// blockedConnectionTypes: [],
28-
//outputExample: {},
2914
version: 'v2',
30-
// transaction: 'read',
31-
// databases: [],
32-
// outputExample: {
33-
// string: "hello"
34-
// },
3515
run: function (api, connection, next) {
3616
if (process.env.ADMIN_API_KEY && connection.params.apiKey === process.env.ADMIN_API_KEY) {
3717
heapdump.writeSnapshot(function(err, filename) {

0 commit comments

Comments
 (0)