Add a few new internal configs to the node config

This commit is contained in:
Dane Everitt 2018-02-18 20:39:43 -06:00
parent 0341dbdfad
commit e7e50bc45d
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53
2 changed files with 12 additions and 2 deletions

View File

@ -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',

View File

@ -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')) {