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:
Dane Everitt 2017-03-19 11:04:03 -04:00
parent d46eac9b60
commit 377fe92f5b
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
4 changed files with 22 additions and 2 deletions

View file

@ -62,6 +62,10 @@ class ServerController extends Controller
'saveFile' => route('server.files.save', $server->uuidShort),
'csrfToken' => csrf_token(),
],
'config' => [
'console_count' => config('pterodactyl.console.count'),
'console_freq' => config('pterodactyl.console.freq'),
],
]);
return view('server.index', [