Don't try to render 200 lines per second in the console... 💣
Corrects a math mistake on my end, and makes the console speed configurable again. Now sends 50 messages per second. Console will notify when being throttled, and refreshing the page will clear the queue if necessary.
This commit is contained in:
parent
d46eac9b60
commit
377fe92f5b
4 changed files with 22 additions and 2 deletions
|
@ -19,8 +19,8 @@
|
|||
// SOFTWARE.
|
||||
|
||||
var Console = (function () {
|
||||
var CONSOLE_PUSH_COUNT = 50;
|
||||
var CONSOLE_PUSH_FREQ = 200;
|
||||
var CONSOLE_PUSH_COUNT = Pterodactyl.config.console_count;
|
||||
var CONSOLE_PUSH_FREQ = Pterodactyl.config.console_freq;
|
||||
|
||||
var terminalQueue;
|
||||
var terminal;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue