forked from Alex/Pterodactyl-Panel
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' => [
|
||||
'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' => [
|
||||
'path' => $this->daemonBase,
|
||||
'ip' => '0.0.0.0',
|
||||
|
@ -151,14 +151,14 @@ function pushToTerminal(string) {
|
||||
|
||||
if (TerminalQueue.length > 0) {
|
||||
var scrolledDown = isTerminalScrolledDown();
|
||||
|
||||
|
||||
for (var i = 0; i < CONSOLE_PUSH_COUNT && TerminalQueue.length > 0; i++) {
|
||||
pushToTerminal(TerminalQueue[0]);
|
||||
|
||||
window.ConsoleElements++;
|
||||
TerminalQueue.shift();
|
||||
}
|
||||
|
||||
|
||||
if (scrolledDown) {
|
||||
window.scrollToBottom();
|
||||
} else if ($scrollNotify.hasClass('hidden')) {
|
||||
|
Loading…
Reference in New Issue
Block a user