File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
public/themes/pterodactyl/js/frontend Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff 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 ' ,
Original file line number Diff line number Diff 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' ) ) {
You can’t perform that action at this time.
0 commit comments