Request stats from wings when loading the console; closes pterodactyl/panel#2414

This commit is contained in:
Dane Everitt 2020-09-27 09:45:37 -07:00
parent ff50940fa6
commit 1db7e4db66
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
2 changed files with 2 additions and 0 deletions

View file

@ -53,6 +53,7 @@ export default () => {
}
instance.addListener('stats', statsListener);
instance.send('send stats');
return () => {
instance.removeListener('stats', statsListener);