This repository was archived by the owner on Jan 23, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change 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" ;
105var 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-
207exports . 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 ) {
You can’t perform that action at this time.
0 commit comments