Add a few new internal configs to the node config
This commit is contained in:
parent
0341dbdfad
commit
e7e50bc45d
|
@ -157,6 +157,16 @@ class Node extends Model implements CleansAttributes, ValidableContract
|
||||||
'filesystem' => [
|
'filesystem' => [
|
||||||
'server_logs' => '/tmp/pterodactyl',
|
'server_logs' => '/tmp/pterodactyl',
|
||||||
],
|
],
|
||||||
|
'internals' => [
|
||||||
|
'disk_use_seconds' => 30,
|
||||||
|
'set_permissions_on_boot' => true,
|
||||||
|
'throttle' => [
|
||||||
|
'kill_at_count' => 5,
|
||||||
|
'decay' => 10,
|
||||||
|
'bytes' => 4096,
|
||||||
|
'check_interval_ms' => 100,
|
||||||
|
],
|
||||||
|
],
|
||||||
'sftp' => [
|
'sftp' => [
|
||||||
'path' => $this->daemonBase,
|
'path' => $this->daemonBase,
|
||||||
'ip' => '0.0.0.0',
|
'ip' => '0.0.0.0',
|
||||||
|
|
|
@ -151,14 +151,14 @@ function pushToTerminal(string) {
|
||||||
|
|
||||||
if (TerminalQueue.length > 0) {
|
if (TerminalQueue.length > 0) {
|
||||||
var scrolledDown = isTerminalScrolledDown();
|
var scrolledDown = isTerminalScrolledDown();
|
||||||
|
|
||||||
for (var i = 0; i < CONSOLE_PUSH_COUNT && TerminalQueue.length > 0; i++) {
|
for (var i = 0; i < CONSOLE_PUSH_COUNT && TerminalQueue.length > 0; i++) {
|
||||||
pushToTerminal(TerminalQueue[0]);
|
pushToTerminal(TerminalQueue[0]);
|
||||||
|
|
||||||
window.ConsoleElements++;
|
window.ConsoleElements++;
|
||||||
TerminalQueue.shift();
|
TerminalQueue.shift();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (scrolledDown) {
|
if (scrolledDown) {
|
||||||
window.scrollToBottom();
|
window.scrollToBottom();
|
||||||
} else if ($scrollNotify.hasClass('hidden')) {
|
} else if ($scrollNotify.hasClass('hidden')) {
|
||||||
|
|
Loading…
Reference in New Issue