Skip to content

Commit e7e50bc

Browse files
committed
Add a few new internal configs to the node config
1 parent 0341dbd commit e7e50bc

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

app/Models/Node.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,16 @@ public function getConfigurationAsJson($pretty = false)
157157
'filesystem' => [
158158
'server_logs' => '/tmp/pterodactyl',
159159
],
160+
'internals' => [
161+
'disk_use_seconds' => 30,
162+
'set_permissions_on_boot' => true,
163+
'throttle' => [
164+
'kill_at_count' => 5,
165+
'decay' => 10,
166+
'bytes' => 4096,
167+
'check_interval_ms' => 100,
168+
],
169+
],
160170
'sftp' => [
161171
'path' => $this->daemonBase,
162172
'ip' => '0.0.0.0',

public/themes/pterodactyl/js/frontend/console.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,14 +151,14 @@ function pushToTerminal(string) {
151151

152152
if (TerminalQueue.length > 0) {
153153
var scrolledDown = isTerminalScrolledDown();
154-
154+
155155
for (var i = 0; i < CONSOLE_PUSH_COUNT && TerminalQueue.length > 0; i++) {
156156
pushToTerminal(TerminalQueue[0]);
157157

158158
window.ConsoleElements++;
159159
TerminalQueue.shift();
160160
}
161-
161+
162162
if (scrolledDown) {
163163
window.scrollToBottom();
164164
} else if ($scrollNotify.hasClass('hidden')) {

0 commit comments

Comments
 (0)