mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-07 19:45:46 +02:00
removed heapdump
This commit is contained in:
@@ -32,12 +32,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">Heap Snapshot</div>
|
||||
<div class="panel-body">
|
||||
<button class="btn btn-primary" id="heap-snapshot">Take Heap Snapshot</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-3 acp-sidebar">
|
||||
@@ -54,14 +48,5 @@
|
||||
<script>
|
||||
require(['admin/settings'], function(Settings) {
|
||||
Settings.prepare();
|
||||
|
||||
$('#heap-snapshot').on('click', function() {
|
||||
socket.emit('admin.takeHeapSnapshot', function(err, filename) {
|
||||
if (err) {
|
||||
return app.alertError(err.message);
|
||||
}
|
||||
app.alertSuccess('Heap Snapshot saved! ' + filename);
|
||||
});
|
||||
})
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user